Skip to content

Commit 5f3424c

Browse files
committed
Update GitHub Actions workflows to enable submodule support: modify checkout steps in multiple workflow files to include submodule initialization and use a personal access token for authentication.
1 parent 87cb177 commit 5f3424c

9 files changed

Lines changed: 33 additions & 0 deletions

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v4
14+
with:
15+
submodules: true
16+
token: ${{ secrets.PAT }}
1417

1518
- uses: actions/setup-java@v4
1619
with:
@@ -54,6 +57,9 @@ jobs:
5457
agp-version: ["8.0.2", "8.7.3", "9.0.0"]
5558
steps:
5659
- uses: actions/checkout@v4
60+
with:
61+
submodules: true
62+
token: ${{ secrets.PAT }}
5763

5864
- uses: actions/setup-java@v4
5965
with:

.github/workflows/copilot_commit.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
steps:
1515
- name: Checkout Repository
1616
uses: actions/checkout@v4
17+
with:
18+
submodules: true
19+
token: ${{ secrets.PAT }}
1720

1821
- uses: vypdev/copilot@v2
1922
with:

.github/workflows/copilot_issue.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
steps:
1212
- name: Checkout Repository
1313
uses: actions/checkout@v4
14+
with:
15+
submodules: true
16+
token: ${{ secrets.PAT }}
1417

1518
- uses: vypdev/copilot@v2
1619
with:

.github/workflows/copilot_issue_comment.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
steps:
1414
- name: Checkout Repository
1515
uses: actions/checkout@v4
16+
with:
17+
submodules: true
18+
token: ${{ secrets.PAT }}
1619

1720
- uses: vypdev/copilot@v2
1821
with:

.github/workflows/copilot_pull_request.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ jobs:
1111
steps:
1212
- name: Checkout Repository
1313
uses: actions/checkout@v4
14+
with:
15+
submodules: true
16+
token: ${{ secrets.PAT }}
1417

1518
- uses: vypdev/copilot@v2
1619
with:

.github/workflows/copilot_pull_request_comment.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
steps:
1414
- name: Checkout Repository
1515
uses: actions/checkout@v4
16+
with:
17+
submodules: true
18+
token: ${{ secrets.PAT }}
1619

1720
- uses: vypdev/copilot@v2
1821
with:

.github/workflows/hotfix_workflow.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- uses: actions/checkout@v4
33+
with:
34+
submodules: true
35+
token: ${{ secrets.PAT }}
3336

3437
- name: Validate inputs
3538
env:
@@ -77,6 +80,9 @@ jobs:
7780
steps:
7881
- name: Checkout Repository
7982
uses: actions/checkout@v4
83+
with:
84+
submodules: true
85+
token: ${{ secrets.PAT }}
8086

8187
- name: Copilot - Create Tag
8288
uses: vypdev/copilot@v2

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
17+
with:
18+
submodules: true
19+
token: ${{ secrets.PAT }}
1720

1821
- uses: actions/setup-java@v4
1922
with:

.github/workflows/release_workflow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ jobs:
141141
steps:
142142
- name: Checkout Repository
143143
uses: actions/checkout@v4
144+
with:
145+
submodules: true
146+
token: ${{ secrets.PAT }}
144147

145148
- name: Copilot - Create Tag
146149
uses: vypdev/copilot@v2

0 commit comments

Comments
 (0)