Skip to content

Commit

Permalink
Github workflows - Update - Create PR to update James submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
vttranlina authored Oct 23, 2024
1 parent 832370d commit c77588e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/update-james-submodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true
submodules: recursive
ref: master
- name: Check if submodule is updated
id: check-submodule
run: |
git submodule update --remote -- james-project
git fetch origin master
git reset --hard origin/master
git submodule update --remote
git config user.name 'github[bot]'
git config user.email 'github-bot@linagora.com'
if [ "$(git diff --submodule=log)" != "" ]; then
Expand Down

0 comments on commit c77588e

Please sign in to comment.