Skip to content

Commit ff31d5b

Browse files
authored
chore: run fork CI job by rewriting last commit (#10854)
1 parent 4c509ec commit ff31d5b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/run-ci-for-external-forks.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@ jobs:
5555
COMMIT_SHA: ${{ inputs.commit-sha }}
5656

5757
- name: Push Branch
58-
run: git push origin HEAD --force
58+
run: |
59+
# Rewrite last commit so GitHub considers it new and runs the CI jobs with our secrets
60+
git commit --amend --no-edit
61+
git push origin HEAD --force
5962
6063
- name: "Create Draft PR"
6164
run: |

0 commit comments

Comments
 (0)