Skip to content

Commit d940def

Browse files
committed
added submodule access to publish workflow
1 parent b9cf2ec commit d940def

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/python-publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ jobs:
2121
os: [ ubuntu-latest ]
2222
steps:
2323
- uses: actions/checkout@v4
24+
with:
25+
ref: ${{ github.event.workflow_run.head_branch }}
26+
token: ${{ secrets.XML_SUBMODULE_PAT }} # token with repo scope; expires never
27+
# https://github.com/Hochfrequenz/xml-fundamend-python/settings/secrets/actions/XML_AHB_MIG_Token
28+
submodules: "recursive"
2429
- name: Set up Python ${{ matrix.python-version }}
2530
uses: actions/setup-python@v5
2631
with:

0 commit comments

Comments
 (0)