From e796a93a2d9be6733253e26c6242517f3c182ccb Mon Sep 17 00:00:00 2001 From: Tushar <30565750+tushar5526@users.noreply.github.com> Date: Sun, 30 Oct 2022 16:18:58 +0530 Subject: [PATCH 1/3] Update autopep8.yml Let GitHub Action automatically detect the branch --- .github/workflows/autopep8.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/autopep8.yml b/.github/workflows/autopep8.yml index debe3a96..fbf29d94 100644 --- a/.github/workflows/autopep8.yml +++ b/.github/workflows/autopep8.yml @@ -13,9 +13,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 }} From 62bfb5a521ff0c173ad4a531227a3652034314b4 Mon Sep 17 00:00:00 2001 From: Tushar <30565750+tushar5526@users.noreply.github.com> Date: Sun, 30 Oct 2022 16:21:05 +0530 Subject: [PATCH 2/3] Update jsformat.yml Remove ref in actions/checkout --- .github/workflows/jsformat.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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: From 2faaf75369a76ecb95c9c2f3684f722d148265f4 Mon Sep 17 00:00:00 2001 From: Tushar <30565750+tushar5526@users.noreply.github.com> Date: Sun, 30 Oct 2022 16:25:58 +0530 Subject: [PATCH 3/3] Update autopep8.yml --- .github/workflows/autopep8.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/autopep8.yml b/.github/workflows/autopep8.yml index fbf29d94..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: