Skip to content

Commit

Permalink
Use default GITHUB_TOKEN instead of custom token
Browse files Browse the repository at this point in the history
  • Loading branch information
Adamtaranto committed Oct 12, 2024
1 parent 435a843 commit 6e77465
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ jobs:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the changed files.
contents: write
contents: write # Allows reading and writing repository contents (e.g., commits)
pull-requests: write # Allows reading and writing pull requests
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
token: ${{ secrets.ACTION_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
- uses: chartboost/ruff-action@v1
with:
src: './src/python'
Expand Down

0 comments on commit 6e77465

Please sign in to comment.