summaryrefslogtreecommitdiff
path: root/.github/workflows/check_misc.yml
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2023-10-13 16:31:02 -0700
committerTakashi Kokubun <takashikkbn@gmail.com>2023-10-13 16:31:07 -0700
commit9d6ff9c175537296c96394332c662a1ffb9a83f6 (patch)
treebd27707bd0f8e79da7aecefc63b63a814aa4f0d0 /.github/workflows/check_misc.yml
parentd67880abeb90fcff40a902d37d868da0cf33d809 (diff)
Skip a duplicated checkout
Diffstat (limited to '.github/workflows/check_misc.yml')
-rw-r--r--.github/workflows/check_misc.yml10
1 files changed, 6 insertions, 4 deletions
diff --git a/.github/workflows/check_misc.yml b/.github/workflows/check_misc.yml
index 103c3026c8..ae60dcdd75 100644
--- a/.github/workflows/check_misc.yml
+++ b/.github/workflows/check_misc.yml
@@ -16,14 +16,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: ./.github/actions/setup/directories
- with:
- makeup: true
-
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
with:
token: ${{ secrets.MATZBOT_GITHUB_TOKEN }}
+ - uses: ./.github/actions/setup/directories
+ with:
+ makeup: true
+ # Skip overwriting MATZBOT_GITHUB_TOKEN
+ checkout: '' # false (ref: https://github.com/actions/runner/issues/2238)
+
- name: Check if C-sources are US-ASCII
run: |
grep -r -n '[^ -~]' -- *.[chy] include internal win32/*.[ch] && exit 1 || :