Update base.json #92
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Actionlint templates | |
on: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
branches: | |
- main | |
- master | |
paths: | |
- "workflows/**" | |
- ".github/workflows/actionlint.yml" | |
jobs: | |
actionlint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Move workflow files | |
run: | | |
rm -v .github/workflows/* | |
# サブディレクトリにあるworkflowファイルは無視する | |
cp -v workflows/* .github/workflows/ || true | |
- name: Run actionlint | |
run: | | |
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash) | |
./actionlint -color -shellcheck= |