File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Lint Commits
2+
3+ on :
4+ workflow_call :
5+
6+ jobs :
7+ lint :
8+ runs-on : ubuntu-latest
9+ permissions :
10+ contents : read
11+ pull-requests : read
12+ steps :
13+ - name : Checkout Source
14+ 15+ with :
16+ fetch-depth : 0
17+
18+ - name : Lint Commits
19+ 20+ with :
21+ failOnWarnings : true
Original file line number Diff line number Diff line change 55 pull_request :
66
77jobs :
8+ commit_lint :
9+ # Deduplicate jobs from pull requests and branch pushes within the same repo.
10+ if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
11+ permissions :
12+ contents : read
13+ pull-requests : read
14+ uses : ./.github/workflows/_commit_lint.yaml
15+
816 devcontainer :
917 # Deduplicate jobs from pull requests and branch pushes within the same repo.
1018 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
You can’t perform that action at this time.
0 commit comments