Nuxt/.github/workflows/introspect.yml

30 lines
684 B
YAML
Raw Normal View History

name: CI
2023-03-09 11:34:41 +00:00
on:
push:
paths:
- ".github/workflows/**"
branches:
- main
pull_request:
paths:
- ".github/workflows/**"
branches:
- main
2023-04-20 08:47:03 +00:00
- "!v[0-9]*"
2023-03-09 11:34:41 +00:00
permissions:
contents: read
2023-03-09 11:34:41 +00:00
jobs:
lint-workflows:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
2023-03-09 11:34:41 +00:00
# From https://github.com/rhysd/actionlint/blob/main/docs/usage.md#use-actionlint-on-github-actions
- name: Check workflow files
run: |
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
./actionlint -color -shellcheck=""