Skip to content

Commit

Permalink
updated pep8 action
Browse files Browse the repository at this point in the history
  • Loading branch information
technocreep committed May 16, 2024
1 parent a000d52 commit 9843fc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pep8_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.PEP8_TOKEN }}
script: |
if git diff --quiet; then
echo "No PEP 8 style changes detected."
Expand All @@ -30,3 +31,4 @@ jobs:
git commit -m "Fix PEP 8 style violations"
target_branch=${{ github.event.pull_request.head.ref }}
git push origin $target_branch

0 comments on commit 9843fc3

Please sign in to comment.