diff --git a/.github/workflows/pep8-formatter.yml b/.github/workflows/pep8-formatter.yml index f159d8ae..53a3b132 100644 --- a/.github/workflows/pep8-formatter.yml +++ b/.github/workflows/pep8-formatter.yml @@ -1,8 +1,6 @@ name: Format python code on: - push: - paths: - - '**.py' + workflow_dispatch: jobs: autoyapf: runs-on: ubuntu-latest @@ -26,4 +24,4 @@ jobs: git config --global user.email 'github-actions@github.com' git remote set-url origin https://x-access-token:$${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} git commit -am "Automated autoyapf fixes" - git push \ No newline at end of file + git push