Skip to content

Commit 4052a3c

Browse files
Update github.ref value in release.yml (#730)
- 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/
1 parent aef52be commit 4052a3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
# 3. with the label 'release:publish', and
8888
# 4. the title prefix '[chore] Release '.
8989
if: github.event.pull_request.merged &&
90-
github.ref == 'master' &&
90+
github.ref == 'refs/heads/master' &&
9191
contains(github.event.pull_request.labels.*.name, 'release:publish') &&
9292
startsWith(github.event.pull_request.title, '[chore] Release ')
9393

0 commit comments

Comments
 (0)