Skip to content

Update private.json #89

Update private.json

Update private.json #89

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=