-
Notifications
You must be signed in to change notification settings - Fork 0
27 lines (23 loc) · 763 Bytes
/
Copy pathlint.yml
File metadata and controls
27 lines (23 loc) · 763 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
name: Lint
# Caller for the reusable lint workflow in topcoder1/ci-workflows.
# Runs actionlint on .github/workflows/*.yml and prettier --check on **/*.md.
#
# To customize per-project, set inputs below. Examples:
# markdown_glob: 'docs/**/*.md' # only lint docs/ markdown
# run_prettier: false # actionlint only
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
# Required by topcoder1/ci-workflows lint.yml prettier_changed_only mode
# (default true) so the reusable can call gh api .../pulls/N/files.
pull-requests: read
jobs:
lint:
uses: topcoder1/ci-workflows/.github/workflows/lint.yml@main
# with:
# markdown_glob: '**/*.md'
# run_actionlint: true
# run_prettier: true