We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c727969 commit cf11db1Copy full SHA for cf11db1
.github/workflows/update-submodules.yml
@@ -27,7 +27,25 @@ jobs:
27
run: |
28
git submodule update --init --recursive
29
30
+
31
+ - name: Check for Changes
32
+ id: check_changes
33
+ run: |
34
+ if git diff --quiet; then
35
+ echo "no_changes=false" >> "$GITHUB_OUTPUT"
36
+ else
37
+ echo "no_changes=true" >> "$GITHUB_OUTPUT"
38
+ fi
39
40
+ - name: Create Branch
41
+ if: steps.check_changes.outputs.no_changes == 'false'
42
43
+ git checkout -b submodules-update
44
+ git add .
45
+ git commit -m "chore: update Submodules"
46
47
- name: Create Pull Request
48
49
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
50
with:
51
base: main
0 commit comments