Skip to content

Commit 7cfedd5

Browse files
committed
Add workflow file linting.
1 parent a58c75f commit 7cfedd5

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/lint-workflows.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow
2+
3+
name: Lint workflow files
4+
on:
5+
pull_request:
6+
branches:
7+
- '**'
8+
push:
9+
branches:
10+
- develop
11+
- trunk
12+
13+
permissions: {}
14+
15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
19+
jobs:
20+
lint:
21+
name: Lint
22+
permissions:
23+
security-events: write
24+
actions: read
25+
contents: read
26+
uses: johnbillion/plugin-infrastructure/.github/workflows/reusable-workflow-lint.yml@trunk

0 commit comments

Comments
 (0)