Skip to content

Commit

Permalink
[CI]: use PAT token for version bump commits (#118)
Browse files Browse the repository at this point in the history
* chore: ensure test and build ci is readonly

* chore(ci): use PAT token for version bump commits
  • Loading branch information
a-ghorbani authored Dec 1, 2024
1 parent aebd59f commit f894085
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
branches:
- main

permissions:
contents: read

jobs:
# Job for linting, type checking, unit testing
build-and-test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
# Step 7: Commit and push version changes
- name: Commit and push version changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PAT_GITHUB_TOKEN }}
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
Expand Down

0 comments on commit f894085

Please sign in to comment.