Skip to content

Commit d7f8c1e

Browse files
committed
Just reorder the checkout
1 parent 0950f22 commit d7f8c1e

2 files changed

Lines changed: 3 additions & 11 deletions

File tree

.github/actions/setup/directories/action.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,6 @@ inputs:
3636
description: >-
3737
If set to true, creates dummy files in build dir.
3838
39-
token:
40-
required: false
41-
default: ''
42-
description: >-
43-
A GitHub token to checkout the repository
44-
4539
outputs: {} # nothing?
4640

4741
runs:
@@ -76,7 +70,6 @@ runs:
7670
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
7771
with:
7872
path: ${{ inputs.srcdir }}
79-
token: ${{ inputs.token }}
8073

8174
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
8275
with:

.github/workflows/check_misc.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,12 @@ jobs:
1616
runs-on: ubuntu-latest
1717

1818
steps:
19-
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
20-
with:
21-
token: ${{ secrets.MATZBOT_GITHUB_TOKEN }}
22-
2319
- uses: ./.github/actions/setup/directories
2420
with:
2521
makeup: true
22+
23+
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
24+
with:
2625
token: ${{ secrets.MATZBOT_GITHUB_TOKEN }}
2726

2827
- name: Check if C-sources are US-ASCII

0 commit comments

Comments
 (0)