2023-04-04 13:39:10 +00:00
|
|
|
name: CI
|
2023-03-09 11:34:41 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
paths:
|
|
|
|
- ".github/workflows/**"
|
|
|
|
branches:
|
|
|
|
- main
|
2024-06-19 17:16:04 +00:00
|
|
|
- 3.x
|
2023-03-09 11:34:41 +00:00
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- ".github/workflows/**"
|
|
|
|
branches:
|
|
|
|
- main
|
2024-06-19 17:16:04 +00:00
|
|
|
- 3.x
|
2023-04-20 08:47:03 +00:00
|
|
|
- "!v[0-9]*"
|
2023-03-09 11:34:41 +00:00
|
|
|
|
2023-06-02 17:14:21 +00:00
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
2023-03-09 11:34:41 +00:00
|
|
|
jobs:
|
|
|
|
lint-workflows:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2024-06-13 12:37:54 +00:00
|
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
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
|
2024-09-11 15:00:53 +00:00
|
|
|
uses: docker://rhysd/actionlint:1.7.1@sha256:c6a00dfcb3c7ffb2f22363ded22ce3d789ea4c6a1862b11a2f7716c56c2509af
|
2024-09-11 14:54:22 +00:00
|
|
|
with:
|
|
|
|
args: -color
|