Skip to content

Commit a44422f

Browse files
Update github.ref value in release.yml (#367)
- 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 0456d5b commit a44422f

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
@@ -90,7 +90,7 @@ jobs:
9090
# 3. with the label 'release:publish', and
9191
# 4. the title prefix '[chore] Release '.
9292
if: github.event.pull_request.merged &&
93-
github.ref == 'master' &&
93+
github.ref == 'refs/heads/master' &&
9494
contains(github.event.pull_request.labels.*.name, 'release:publish') &&
9595
startsWith(github.event.pull_request.title, '[chore] Release ')
9696

0 commit comments

Comments
 (0)