Skip to content

Update public.json

Update public.json #90

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=