diff --git a/.github/workflows/autopep8.yml b/.github/workflows/autopep8.yml index debe3a96..19390305 100644 --- a/.github/workflows/autopep8.yml +++ b/.github/workflows/autopep8.yml @@ -2,10 +2,12 @@ name: Python Pep8 Continuous Integration on: - pull_request: push: branches: - master + pull_request: + branches: + - master jobs: build: @@ -13,9 +15,6 @@ jobs: steps: - uses: actions/checkout@v2 - with: - # Make sure the actual branch is checked out when running on pull requests - ref: ${{ github.head_ref }} - uses: creyD/action_autopep8@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/jsformat.yml b/.github/workflows/jsformat.yml index 120f7006..592af590 100644 --- a/.github/workflows/jsformat.yml +++ b/.github/workflows/jsformat.yml @@ -14,10 +14,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - with: - # Make sure the actual branch is checked out when running on pull requests - ref: ${{ github.head_ref }} - + - name: Prettify code uses: creyD/prettier_action@v3.1 with: