Skip to content

Commit 7984264

Browse files
committed
put secrets into main block
1 parent 914aab9 commit 7984264

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
if: ${{ github.event_name == 'pull_request_target' }}
1212
runs-on: ubuntu-latest
1313
environment: e2e # request confirmation
14+
secrets: inherit
1415
steps:
1516
- uses: ./.github/workflows/run-tests.yml
1617
with:
@@ -19,15 +20,13 @@ jobs:
1920
repo: ${{ github.event.pull_request.head.repo.full_name }}
2021
ref: ${{ github.event.pull_request.head.ref }}
2122
sha: ${{ github.event.pull_request.head.sha }}
22-
secrets:
23-
inherit
2423

2524
main-test:
2625
if: ${{ github.event_name == 'push' }}
2726
runs-on: ubuntu-latest
27+
secrets: inherit
2828
steps:
2929
- uses: ./.github/workflows/run-tests.yml
3030
with:
3131
event_name: ${{ github.event_name }}
32-
secrets:
33-
inherit
32+

0 commit comments

Comments
 (0)