secrets cannot be templated in a shared action
This commit is contained in:
parent
563ba5a6f1
commit
0950f22cc0
8
.github/actions/setup/directories/action.yml
vendored
8
.github/actions/setup/directories/action.yml
vendored
@ -36,6 +36,12 @@ inputs:
|
|||||||
description: >-
|
description: >-
|
||||||
If set to true, creates dummy files in build dir.
|
If set to true, creates dummy files in build dir.
|
||||||
|
|
||||||
|
token:
|
||||||
|
required: false
|
||||||
|
default: ''
|
||||||
|
description: >-
|
||||||
|
A GitHub token to checkout the repository
|
||||||
|
|
||||||
outputs: {} # nothing?
|
outputs: {} # nothing?
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
@ -70,7 +76,7 @@ runs:
|
|||||||
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
|
||||||
with:
|
with:
|
||||||
path: ${{ inputs.srcdir }}
|
path: ${{ inputs.srcdir }}
|
||||||
token: ${{ secrets.MATZBOT_GITHUB_TOKEN }}
|
token: ${{ inputs.token }}
|
||||||
|
|
||||||
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
|
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8 # v3.3.1
|
||||||
with:
|
with:
|
||||||
|
1
.github/workflows/check_misc.yml
vendored
1
.github/workflows/check_misc.yml
vendored
@ -23,6 +23,7 @@ jobs:
|
|||||||
- uses: ./.github/actions/setup/directories
|
- uses: ./.github/actions/setup/directories
|
||||||
with:
|
with:
|
||||||
makeup: true
|
makeup: true
|
||||||
|
token: ${{ secrets.MATZBOT_GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Check if C-sources are US-ASCII
|
- name: Check if C-sources are US-ASCII
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user