Skip to content

Commit cad3b5e

Browse files
committed
Remember to push things.
1 parent 03dbac4 commit cad3b5e

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

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

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff 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 }}

0 commit comments

Comments
 (0)