Skip to content

Commit 6afa5e9

Browse files
committed
Configures submodule checkout for workflow
Enables recursive submodule checkout in the version change workflow. This ensures that all submodules, including nested ones, are properly initialized, which is necessary for the workflow to function correctly. Also, it passes a token to authenticate the submodule retrieval.
1 parent a3f479d commit 6afa5e9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/push-on-version-change.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
- name: Check out repository code
1212
uses: actions/checkout@v4
1313
with:
14+
submodules: 'recursive'
15+
token: ${{secrets.SUBMODULE.PAT}}
1416
fetch-depth: 0
1517
fetch-tags: true
1618
submodules: true

0 commit comments

Comments
 (0)