Skip to content

Commit 7ffe436

Browse files
committed
chore(ci): using context instead of variable while building jobs
1 parent 579dbd1 commit 7ffe436

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Should trim prefix `refs/tags/` from tag name
2-
name-template: ${{ github.ref_name }} 🌈
2+
name-template: ${GITHUB_REF_NAME} 🌈
33
template: |
44
## Changes
55
$CHANGES

.github/workflows/create-pull-request-to-brew.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ jobs:
5353
- uses: peter-evans/create-pull-request@v3
5454
with:
5555
token: ${{ secrets.PAT_CREATE_PR }}
56-
commit-message: "feat update homebrew-h3n4l to release ${GITHUB_REF_NAME}"
57-
title: "feat: update homebrew-h3n4l to ${GITHUB_REF_NAME}"
56+
commit-message: "feat update h3n4l/homebrew-chatsh to release ${{ github.REF_NAME }}"
57+
title: "feat: update h3n4l/homebrew-chatsh to ${{ github.REF_NAME }}"
5858
committer: h3n4l <[email protected]>
5959
author: h3n4l <[email protected]>
60-
branch: feat/release-${GITHUB_REF_NAME}
60+
branch: feat/release-${{ github.REF_NAME }}
6161
delete-branch: true
6262
draft: false
6363
body: |
64-
Update homebrew-h3n4l to release ${GITHUB_REF_NAME}
64+
Update homebrew-h3n4l to release ${{ github.REF_NAME }}
6565
- Auto-generated by [create-pull-request][1]
6666
6767
[1]: https://github.com/peter-evans/create-pull-request

0 commit comments

Comments
 (0)