This commit is contained in:
27
.github/workflows/actions-lint.yml
vendored
Normal file
27
.github/workflows/actions-lint.yml
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
name: actions-lint
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [main]
|
||||
paths:
|
||||
- '.github/workflows/**'
|
||||
pull_request:
|
||||
branches: [main]
|
||||
paths:
|
||||
- '.github/workflows/**'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
actions-lint:
|
||||
name: actions-lint
|
||||
run-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Check workflow files
|
||||
uses: docker://rhysd/actionlint:latest
|
||||
with:
|
||||
args: -color
|
||||
Reference in New Issue
Block a user