-
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (37 loc) · 1.16 KB
/
pull-request.yml
File metadata and controls
43 lines (37 loc) · 1.16 KB
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
34
35
36
37
38
39
40
41
42
name: CI Pull Request
on:
pull_request:
branches-ignore:
- 'release-please--branches--*'
jobs:
shellcheck:
name: Check shell scripts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0
lint-workflow:
runs-on: ubuntu-latest
container:
image: rhysd/actionlint:1.6.23
options: --cpus 1 --user root
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
- name: Validate Github workflows
run: |
mkdir .git
actionlint -color
lint-markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
- name: Validate Markdown file
run: |
npm install -g markdownlint-cli
markdownlint -c .markdownlint.yml -i CHANGELOG.md "**/*.md"
verify-json:
name: Run JSON Lint
runs-on: ubuntu-latest
steps:
- run: bash <(curl -s https://raw.githubusercontent.com/CICDToolbox/json-lint/master/pipeline.sh)