File tree Expand file tree Collapse file tree 2 files changed +3
-6654
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6654
lines changed Original file line number Diff line number Diff line change @@ -35,16 +35,11 @@ jobs:
3535 - name : Run update migration progress script
3636 run : npm run update-migrate-progress
3737
38- - name : Check for changes
39- id : git-check
40- run : |
41- git diff --quiet CPPREF_MIGRATE_PROGRESS.md || echo "has_changes=true" >> $GITHUB_OUTPUT
42-
43- - name : Commit and push if changes
44- if : steps.git-check.outputs.has_changes == 'true'
38+ - name : Create orphan branch and force push
4539 run : |
4640 git config user.name "github-actions[bot]"
4741 git config user.email "github-actions[bot]@users.noreply.github.com"
42+ git checkout --orphan migrate-progress
4843 git add CPPREF_MIGRATE_PROGRESS.md
4944 git commit -m "chore: update migration progress [skip ci]"
50- git push
45+ git push --force origin migrate-progress
You can’t perform that action at this time.
0 commit comments