Skip to content

Commit c126958

Browse files
committed
fix: don't reference GITHUB_TOKEN as a workflow input
1 parent 9e5196a commit c126958

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

.github/workflows/push.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ jobs:
1010

1111
call-test:
1212
uses: ./.github/workflows/test.yml
13-
secrets:
14-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13+
secrets: inherit
1514

1615
call-publish:
1716
needs: [call-format, call-test]

.github/workflows/test.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
name: Test
22

3-
on:
4-
workflow_call:
5-
secrets:
6-
GITHUB_TOKEN:
7-
required: true
3+
on: [workflow_call]
84

95
jobs:
106
test:

0 commit comments

Comments
 (0)