Skip to content

Commit

Permalink
Add ruff token (#67)
Browse files Browse the repository at this point in the history
* Add Github token to permit action to push new commit that triggers other CI actions

---------

Co-authored-by: Adamtaranto <[email protected]>
  • Loading branch information
Adamtaranto and Adamtaranto authored Sep 30, 2024
1 parent a2e077e commit e5aac64
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ruff.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@ on: [pull_request]
jobs:
ruff:
runs-on: ubuntu-latest
#concurrency:
# group: ${{ github.ref }}
# cancel-in-progress: true
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the changed files.
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
token: ${{ secrets.ACTION_TOKEN }}
- uses: chartboost/ruff-action@v1
with:
src: './src/python'
Expand Down

0 comments on commit e5aac64

Please sign in to comment.