Skip to content

Commit

Permalink
Update update_submodule.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kavishkafx authored Jul 10, 2024
1 parent 57da267 commit d5d20e5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/update_submodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,12 @@ jobs:
- name: Update submodule
run: git submodule update --init --recursive --remote -f

- name: Check if there are changes
id: check_changes
run: echo ::set-output name=changes::$(git status --porcelain)

- name: Commit changes
if: ${{ steps.check_changes.outputs.changes != '' }}
run: |
git add .
git commit -m "Update submodule to latest commit"
Expand Down

0 comments on commit d5d20e5

Please sign in to comment.