File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -14,38 +14,43 @@ jobs:
1414 pull-requests : write
1515 steps :
1616 - name : Checkout Repository
17+ id : checkout
1718 uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1819 with :
1920 persist-credentials : true
2021
2122 - name : Git Config
23+ id : git-config
2224 run : |
2325 git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
2426 git config --global user.name "github-actions[bot]"
2527
2628 - name : Update Submodules
29+ id : update-submodules
2730 run : |
2831 git submodule update --init --recursive
2932
3033
3134 - name : Check for Changes
32- id : check_changes
35+ id : check-for-changes
3336 run : |
3437 if git diff --quiet; then
35- echo "no_changes =false" >> "$GITHUB_OUTPUT"
38+ echo "change =false" >> "$GITHUB_OUTPUT"
3639 else
37- echo "no_changes =true" >> "$GITHUB_OUTPUT"
40+ echo "change =true" >> "$GITHUB_OUTPUT"
3841 fi
3942
4043 - name : Create Branch
41- if : steps.check_changes.outputs.no_changes == 'false'
44+ id : create-branch
45+ if : steps.check-for-changes.outputs.change == 'true'
4246 run : |
4347 git checkout -b submodules-update
4448 git add .
4549 git commit -m "chore: update Submodules"
4650
4751 - name : Create Pull Request
48- if : steps.check_changes.outputs.no_changes == 'false'
52+ id : create-pr
53+ if : steps.check-for-changes.outputs.change == 'true'
4954 uses : peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
5055 with :
5156 base : main
You can’t perform that action at this time.
0 commit comments