Skip to content

Commit a72c27f

Browse files
committed
chore: move spire into e2e
Signed-off-by: Ramiz Polic <[email protected]>
1 parent 92b5d3b commit a72c27f

File tree

4 files changed

+25
-9
lines changed

4 files changed

+25
-9
lines changed

.github/workflows/ci.yaml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ jobs:
116116
with:
117117
image_repo: ghcr.io/agntcy
118118
image_tag: ${{ github.sha }}
119-
secrets: inherit
119+
secrets:
120+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
120121

121122
test:
122123
name: Test
@@ -126,7 +127,9 @@ jobs:
126127
with:
127128
image_repo: ghcr.io/agntcy
128129
image_tag: ${{ github.sha }}
129-
secrets: inherit
130+
secrets:
131+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
132+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
130133

131134
release:
132135
name: Release
@@ -137,7 +140,10 @@ jobs:
137140
with:
138141
image_repo: ghcr.io/agntcy
139142
release_tag: ${{ github.ref_name }}
140-
secrets: inherit
143+
secrets:
144+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
145+
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
146+
NPMJS_TOKEN: ${{ secrets.NPMJS_TOKEN }}
141147

142148
integration:
143149
name: Run integration tests

.github/workflows/pr.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ jobs:
1919
validate_pr_title:
2020
name: Validate PR Title
2121
uses: ./.github/workflows/lint-pr-title.yaml
22-
secrets: inherit
22+
secrets:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2324

2425
label:
2526
name: Label

.github/workflows/reusable-release.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ jobs:
3333
image_repo: ${{ inputs.image_repo }}
3434
image_tag: ${{ inputs.release_tag }}
3535
push: true
36-
secrets: inherit
36+
secrets:
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3738

3839
chart:
3940
name: Helm chart
@@ -115,7 +116,9 @@ jobs:
115116
with:
116117
javascript-release: true
117118
python-release: true
118-
secrets: inherit
119+
secrets:
120+
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
121+
NPMJS_TOKEN: ${{ secrets.NPMJS_TOKEN }}
119122

120123
release:
121124
name: Release
@@ -188,4 +191,5 @@ jobs:
188191
with:
189192
create-pr: true
190193
run-without-diff: false
191-
secrets: inherit
194+
secrets:
195+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/reusable-test.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ on:
1818
CODECOV_TOKEN:
1919
description: "Codecov token for uploading coverage reports"
2020
required: false
21+
GITHUB_TOKEN:
22+
description: "GitHub token for accessing the container registry"
23+
required: true
2124

2225
permissions:
2326
id-token: write
@@ -94,12 +97,14 @@ jobs:
9497
with:
9598
image_repo: ${{ inputs.image_repo }}
9699
image_tag: ${{ inputs.image_tag }}
97-
secrets: inherit
100+
secrets:
101+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98102

99103
e2e:
100104
name: E2E
101105
uses: ./.github/workflows/reusable-test-e2e.yaml
102106
with:
103107
image_repo: ${{ inputs.image_repo }}
104108
image_tag: ${{ inputs.image_tag }}
105-
secrets: inherit
109+
secrets:
110+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)