Skip to content

Commit 5d66001

Browse files
author
Sven Siegmund
committed
ci: try to use GITHUB_TOKEN as GH_API_TOKEN
1 parent 3144078 commit 5d66001

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/continuous-delivery.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ jobs:
8383
- variables
8484
- build
8585
uses: ./.github/workflows/test-e2e.yml
86-
secrets:
87-
GH_API_TOKEN: ${{ secrets.GH_API_TOKEN }}
86+
secrets: inherit
8887
with:
8988
new-release-detected: ${{ needs.build.outputs.new-release-detected }}
9089
distribution-artifacts-name: ${{ needs.variables.outputs.distribution-artifacts-name }}

.github/workflows/test-e2e.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ on:
2424
run-test-command:
2525
required: true
2626
type: string
27-
secrets:
28-
GH_API_TOKEN:
29-
required: true
3027

3128

3229
jobs:
@@ -73,4 +70,6 @@ jobs:
7370
7471
- name: Test | Run pytest
7572
run: ${{ inputs.run-test-command }}
73+
env:
74+
GH_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7675

0 commit comments

Comments
 (0)