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 06bf644 commit 337e29e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pep8_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ jobs:
run: autopep8 --in-place --recursive ./fedot_ind ./tests

- uses: actions/github-script@v6
with:
github-token: ${{ secrets.PEP8_TOKEN }}
script: |
git diff --quiet ./fedot_ind ./tests # Only check for changes in relevant files
Expand All @@ -32,3 +30,4 @@ jobs:
git commit -m "Fix PEP 8 style violations"
target_branch=${{ github.event.pull_request.head.ref }}
git push origin $target_branch
${{ secrets.PEP8_TOKEN }}

0 comments on commit 337e29e

Please sign in to comment.