You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I defined possible branches for my releases inner .releaserc.yaml. But because I'm using workflow_run of GitHub action inner my CD workflow, it gives me a default branch for GITHUB_REF GitHub action environment variable, that is not my exactly triggered branch.
Currently, semantic-release works with current branch and GITHUB_REF environment variable.
Is there any way, when I run npx semantic-release, I pass my desired branch for analyzing semantic-release?
branches:
- main
- '+([0-9])?(.{+([0-9]),x}).x'
- name: developprerelease: devchannel: dev
The text was updated successfully, but these errors were encountered:
Hi,
I defined possible branches for my releases inner
.releaserc.yaml
. But because I'm using workflow_run of GitHub action inner my CD workflow, it gives me a default branch forGITHUB_REF
GitHub action environment variable, that is not my exactly triggered branch.Currently, semantic-release works with current branch and
GITHUB_REF
environment variable.Is there any way, when I run
npx semantic-release
, I pass my desired branch for analyzing semantic-release?The text was updated successfully, but these errors were encountered: