Skip to content

Commit

Permalink
Use PAT instead of Github token
Browse files Browse the repository at this point in the history
So github-actions bot relaunches GHA workflows after push
  • Loading branch information
zsusswein committed Sep 2, 2024
1 parent 3007540 commit ebb9e5b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pre-commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.12'
Expand All @@ -28,7 +31,7 @@ jobs:
if: failure() && startsWith(github.ref, 'refs/heads')
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.ZS_PAT }}
branch: ${{ github.ref }}
env:
RENV_CONFIG_CACHE_ENABLED: FALSE

0 comments on commit ebb9e5b

Please sign in to comment.