Skip to content

Commit 0b7071f

Browse files
Slokhampcode-com
andauthored
fix: use GH_PAT for release workflow push permissions (#72)
Amp-Thread-ID: https://ampcode.com/threads/T-019cfcb6-64fc-72a8-ae36-b5023ee0e1a7 Co-authored-by: Amp <amp@ampcode.com>
1 parent 8e2f1fd commit 0b7071f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v4
20+
with:
21+
token: ${{ secrets.GH_PAT }}
2022

2123
- name: Install Rust
2224
uses: dtolnay/rust-toolchain@stable
@@ -29,5 +31,6 @@ jobs:
2931
with:
3032
crate-token: ${{ secrets.CARGO_REGISTRY_TOKEN }}
3133
conventional-commit: true
34+
github-token: ${{ secrets.GH_PAT }}
3235
env:
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
GITHUB_TOKEN: ${{ secrets.GH_PAT }}

0 commit comments

Comments
 (0)