diff --git a/.github/workflows/update-submodule.yml b/.github/workflows/update-submodule.yml index 35d63f6..4ddfece 100644 --- a/.github/workflows/update-submodule.yml +++ b/.github/workflows/update-submodule.yml @@ -34,12 +34,15 @@ jobs: run: | MODULE="${{ github.event.client_payload.module || inputs.module }}" VERSION="${{ github.event.client_payload.version || inputs.version }}" - echo "module=$MODULE" >> $GITHUB_OUTPUT - echo "version=$VERSION" >> $GITHUB_OUTPUT + echo "module=$MODULE" >> "$GITHUB_OUTPUT" + echo "version=$VERSION" >> "$GITHUB_OUTPUT" cd "modules/$MODULE" git fetch origin --tags - git checkout "$VERSION" + # The runner checkout may normalize tracked files differently from the + # submodule commit. The worktree is disposable; always select the + # released tag instead of treating those generated changes as user work. + git checkout --force "$VERSION" cd ../.. git add "modules/$MODULE" diff --git a/modules/JiraAgilePS b/modules/JiraAgilePS index 3e195d8..21d363a 160000 --- a/modules/JiraAgilePS +++ b/modules/JiraAgilePS @@ -1 +1 @@ -Subproject commit 3e195d893eb034fcce83f9648a551ed2d088abae +Subproject commit 21d363a8a0500f792f5337ca0aef05ff93b932c5