mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
0949187cf7
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Daniel Roe <daniel@roe.dev>
30 lines
727 B
YAML
30 lines
727 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- ".github/workflows/**"
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/**"
|
|
branches:
|
|
- main
|
|
- "!v[0-9]*"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint-workflows:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
|
|
# 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/590d3bd9dde0c91f7a66071d40eb84716526e5a6/scripts/download-actionlint.bash) 1.6.25
|
|
./actionlint -color -shellcheck=""
|