Skip to content

ERELEASEBRANCHES The release branches are invalid in the branches configuration #13

@morey-tech

Description

@morey-tech

https://github.com/argocd-diff-action/argocd-diff-action/actions/runs/4470542564/jobs/7854225720#step:7:58

[4:28:26 PM] [semantic-release] › ✖  ERELEASEBRANCHES The release branches are invalid in the `branches` configuration.
A minimum of 1 and a maximum of 3 release branches are required in the branches configuration (https://github.com/semantic-release/semantic-release/blob/master/docs/usage/configuration.md#branches).

This may occur if your repository does not have a release branch, such as master.

Your configuration for the problematic branches is [].

Error: AggregateError: 
    SemanticReleaseError: The release branches are invalid in the `branches` configuration.

When .releaserc contains:

  "branches": [
    "main"
  ],

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions