forked from open-telemetry/opentelemetry-collector-contrib
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (32 loc) · 924 Bytes
/
shellcheck.yaml
File metadata and controls
33 lines (32 loc) · 924 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
33
name: shellcheck
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
shellcheck:
name: shellcheck
runs-on: ubuntu-24.04
env:
VERSION: v0.10.0
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
- name: shellcheck workflow-scripts
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0
env:
SHELLCHECK_OPTS: -x -e SC2059 -e SC2086
with:
scandir: ".github/workflows/scripts"
severity: warning
version: ${{ env.VERSION }}
- name: shellcheck buildscripts
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0
env:
SHELLCHECK_OPTS: -x -e SC2059 -e SC2086
with:
scandir: "internal/buildscripts"
severity: warning
version: ${{ env.VERSION }}