Skip to content

Commit b4ab590

Browse files
Update github.ref value in release.yml (#867)
- 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 4735000 commit b4ab590

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
@@ -72,7 +72,7 @@ jobs:
7272
# 3. with the label 'release:publish', and
7373
# 4. the title prefix '[chore] Release '.
7474
if: github.event.pull_request.merged &&
75-
github.ref == 'master' &&
75+
github.ref == 'refs/heads/master' &&
7676
contains(github.event.pull_request.labels.*.name, 'release:publish') &&
7777
startsWith(github.event.pull_request.title, '[chore] Release ')
7878

0 commit comments

Comments
 (0)