Skip to content

Commit

Permalink
Update github.ref value in release.yml (#867)
Browse files Browse the repository at this point in the history
- Fixes the release workflow to match the updates to `github.ref`
- `github.ref` now returns a fully-formed value `refs/heads/...`
 - See https://github.blog/changelog/2023-09-13-github-actions-updates-to-github_ref-and-github-ref/
  • Loading branch information
lahirumaramba authored Oct 12, 2023
1 parent 4735000 commit b4ab590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
# 3. with the label 'release:publish', and
# 4. the title prefix '[chore] Release '.
if: github.event.pull_request.merged &&
github.ref == 'master' &&
github.ref == 'refs/heads/master' &&
contains(github.event.pull_request.labels.*.name, 'release:publish') &&
startsWith(github.event.pull_request.title, '[chore] Release ')

Expand Down

0 comments on commit b4ab590

Please sign in to comment.