Skip to content

Commit 6fc1421

Browse files
committed
add actions lint step
1 parent 792926f commit 6fc1421

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

.github/workflows/files-changed.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ jobs:
2929
id: changes
3030
with:
3131
filters:
32-
docs:
33-
- "**/*.md"
34-
- "docs/**"
35-
3632
backend:
3733
- "**/*.go"
3834
- "**/*.tmpl"
@@ -44,3 +40,10 @@ jobs:
4440
- "web_src/**"
4541
- "package.json"
4642
- "package-lock.json"
43+
44+
docs:
45+
- "**/*.md"
46+
- "docs/**"
47+
48+
actions:
49+
- ".github/workflows/*"

.github/workflows/pull-compliance.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,3 +131,12 @@ jobs:
131131
- run: make deps-frontend
132132
- run: make lint-md
133133
- run: make docs # test if build could succeed
134+
135+
actions:
136+
if: needs.files-changed.outputs.actions == 'true'
137+
needs: files-changed
138+
runs-on: ubuntu-latest
139+
steps:
140+
- uses: actions/checkout@v3
141+
- uses: actions/setup-go@v4
142+
- run: make lint-actions

0 commit comments

Comments
 (0)