Skip to content

Commit

Permalink
chore(ci): using context instead of variable while building jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
h3n4l committed Jun 10, 2023
1 parent 579dbd1 commit 7ffe436
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows-config/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Should trim prefix `refs/tags/` from tag name
name-template: ${{ github.ref_name }} 🌈
name-template: ${GITHUB_REF_NAME} 🌈
template: |
## Changes
$CHANGES
8 changes: 4 additions & 4 deletions .github/workflows/create-pull-request-to-brew.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ jobs:
- uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.PAT_CREATE_PR }}
commit-message: "feat update homebrew-h3n4l to release ${GITHUB_REF_NAME}"
title: "feat: update homebrew-h3n4l to ${GITHUB_REF_NAME}"
commit-message: "feat update h3n4l/homebrew-chatsh to release ${{ github.REF_NAME }}"
title: "feat: update h3n4l/homebrew-chatsh to ${{ github.REF_NAME }}"
committer: h3n4l <[email protected]>
author: h3n4l <[email protected]>
branch: feat/release-${GITHUB_REF_NAME}
branch: feat/release-${{ github.REF_NAME }}
delete-branch: true
draft: false
body: |
Update homebrew-h3n4l to release ${GITHUB_REF_NAME}
Update homebrew-h3n4l to release ${{ github.REF_NAME }}
- Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request

0 comments on commit 7ffe436

Please sign in to comment.