forked from docker/cagent-action
-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 795 Bytes
/
lint-actions.yml
File metadata and controls
32 lines (29 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: Lint Actions
on:
pull_request:
paths:
- '.github/workflows/**'
- '**/action.yml'
- '**/action.yaml'
push:
branches:
- main
paths:
- '.github/workflows/**'
- '**/action.yml'
- '**/action.yaml'
jobs:
actionlint:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- name: Run actionlint
uses: raven-actions/actionlint@e01d1ea33dd6a5ed517d95b4c0c357560ac6f518 # v2.1.1
with:
fail-on-error: true
# Disable shellcheck - it reports info/style warnings as errors
# We care about YAML structure and action syntax, not shell style
shellcheck: false