File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ workflow_call :
3+ inputs :
4+ pr_number :
5+ required : true
6+ type : number
7+
8+ jobs :
9+ label :
10+ runs-on : ubuntu-latest
11+ permissions :
12+ issues : write
13+ pull-requests : write
14+ steps :
15+ - uses : mheap/github-action-required-labels@v5
16+ with :
17+ count : 1
18+ add_comment : true
19+ message : " Please attach a label to this PR. This helps with generating helpful release notes."
Original file line number Diff line number Diff line change 88 check :
99 uses : ./.github/workflows/_check.yml
1010
11+ require-label :
12+ if : github.event_name == 'pull_request'
13+ uses : ./.github/workflows/_label.yml
14+ with :
15+ pr_number : ${{ github.event.pull_request.number }}
16+
1117 lint :
1218 needs : check
1319 if : needs.check.outputs.branch-pr == ''
You can’t perform that action at this time.
0 commit comments