File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -91,10 +91,20 @@ jobs:
9191 echo "uncommitted_changes=$(echo $diff_output)" >> "$GITHUB_OUTPUT"
9292 fi
9393
94- - name : Stage and commit changes
94+ - name : Stage changes
9595 if : ${{ steps.built-file-check.outputs.uncommitted_changes != '' }}
96- run : |
97- git add .
98- git commit -m "Automated commit of built changes. [dependabot skip]"
96+ run : git add .
97+ env :
98+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
99+
100+ - name : Commit changes
101+ if : ${{ steps.built-file-check.outputs.uncommitted_changes != '' }}
102+ run : git commit -m "Automated commit of built changes. [dependabot skip]"
103+ env :
104+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
105+
106+ - name : Push changes
107+ if : ${{ steps.built-file-check.outputs.uncommitted_changes != '' }}
108+ run : git push
99109 env :
100110 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments