Skip to content

Commit 05e961d

Browse files
committed
Try this
1 parent 9789fa4 commit 05e961d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/pull-requests-built-files.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,9 @@ jobs:
6666

6767
- name: Run Emoji precommit task
6868
run: npm run grunt precommit:emoji
69-
env:
70-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7169

7270
- name: Run SASS precommit tasks
7371
run: npm run grunt precommit:css
74-
env:
75-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7672

7773
- name: Build WordPress
7874
run: npm run build:dev
@@ -105,6 +101,6 @@ jobs:
105101

106102
- name: Push changes
107103
if: ${{ steps.built-file-check.outputs.uncommitted_changes != '' }}
108-
run: git push HEAD:${{ github.event.pull_request.head.ref }} ${{ github.event.pull_request.head.ref }}
104+
run: git push HEAD:${{ github.event.pull_request.head.ref }}
109105
env:
110-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
106+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)