Skip to content

Commit d6f2ace

Browse files
committed
..
1 parent bf7a52e commit d6f2ace

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/auto_format.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ jobs:
55
runs-on: ubuntu-latest
66
steps:
77
- name: Checkout PR branch
8-
run: |
9-
git fetch origin pull/${{ github.event.pull_request.number }}/head:${{ github.event.pull_request.head.ref }}
10-
git checkout ${{ github.event.pull_request.head.ref }}
8+
uses: actions/checkout@v2
9+
with:
10+
ref: ${{ github.event.pull_request.head.sha }}
1111
- name: autopep8
1212
uses: peter-evans/autopep8@v1
1313
with:
@@ -20,6 +20,4 @@ jobs:
2020
run: |
2121
git config --global user.name 'Torantulino'
2222
git config --global user.email '[email protected]'
23-
git remote set-url origin https://x-access-token:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/${{ github.repository }}
24-
git commit -am "Automated changes"
25-
git push
23+
git remote set

0 commit comments

Comments
 (0)