File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed
Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change 4747 - name : Checkout repository
4848 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4949 with :
50+ ref : ${{ github.head_ref }}
5051 show-progress : ${{ runner.debug == '1' && 'true' || 'false' }}
5152
5253 - name : Set up Node.js
@@ -75,11 +76,11 @@ jobs:
7576
7677 - name : Build WordPress
7778 run : npm run build:dev
78- #
79- # - name: Configure git user name and email
80- # run: |
81- # git config user.name "dependabot[bot]"
82- # git config user.email dependabot[bot]@users.noreply.github.com
79+
80+ - name : Configure git user name and email
81+ run : |
82+ git config user.name "dependabot[bot]"
83+ git config user.email 49699333+ dependabot[bot]@users.noreply.github.com
8384
8485 - name : Ensure version-controlled files are not modified or deleted during building
8586 id : built-file-check
@@ -93,17 +94,11 @@ jobs:
9394 - name : Stage changes
9495 if : ${{ steps.built-file-check.outputs.uncommitted_changes != '' }}
9596 run : git add .
96- env :
97- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9897
9998 - name : Commit changes
10099 if : ${{ steps.built-file-check.outputs.uncommitted_changes != '' }}
101100 run : git commit -m "Automated commit of built changes. [dependabot skip]"
102- env :
103- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
104101
105102 - name : Push changes
106103 if : ${{ steps.built-file-check.outputs.uncommitted_changes != '' }}
107- run : git push HEAD:${{ github.event.pull_request.head.ref }} ${{ github.event.pull_request.head.ref }}
108- env :
109- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
104+ run : git push
You can’t perform that action at this time.
0 commit comments