Browse Source
* add actions linter * fix actions/checkout args * trigger actions lint on both yml/yaml ...and other possible changes in workflowpull/2531/head
2 changed files with 24 additions and 1 deletions
@ -0,0 +1,24 @@
@@ -0,0 +1,24 @@
|
||||
name: Lint |
||||
|
||||
on: |
||||
push: |
||||
branches: |
||||
- webv2 |
||||
paths: |
||||
- '.github/workflows/*' |
||||
pull_request: |
||||
branches: |
||||
- webv2 |
||||
paths: |
||||
- '.github/workflows/*' |
||||
|
||||
jobs: |
||||
actionlint: |
||||
name: GitHub actions |
||||
runs-on: ubuntu-latest |
||||
steps: |
||||
- uses: actions/checkout@v3 |
||||
|
||||
- uses: docker://rhysd/actionlint:latest |
||||
with: |
||||
args: -shellcheck= -color |
Loading…
Reference in new issue