-
-
Notifications
You must be signed in to change notification settings - Fork 424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
it seems like release are always created from the default branch #392
Comments
According to the readme, it is by design. In the section about optional keys for "with" the readme says: "target_committish - Commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Defaults to repository default branch." Inserting
before the "files: |" line near the end of your workflow should give you the behavior you want. |
we were just caught out by this, seems strange that it wouldn't default to targeting the commit that triggered the action to execute. |
This is the extract from the script to create the release and when I check the release notes generated it's obvious that it's for the master branch and not for the PRODUCTION branch that triggered the workflow. Is this a bug or by design?
if: startsWith(github.ref, 'refs/tags/')
The text was updated successfully, but these errors were encountered: