File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ monthly :
2+ - base-branch : ["monthly"]
3+
4+ stable :
5+ - base-branch : ["stable"]
Original file line number Diff line number Diff line change 1+ # Reference: https://github.com/actions/labeler
2+ name : PR labels
3+
4+ on :
5+ pull_request_target :
6+
7+ jobs :
8+ synchronize-labels :
9+ permissions :
10+ contents : read
11+ pull-requests : write
12+ issues : write
13+ runs-on : ubuntu-latest
14+ steps :
15+ - id : label-the-PR
16+ uses : actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # 6.0.1
17+ with :
18+ sync-labels : true
19+
20+ - id : print-labels
21+ env :
22+ NEW_LABELS : ${{ steps.label-the-PR.outputs.new-labels }}
23+ ALL_LABELS : ${{ steps.label-the-PR.outputs.all-labels }}
24+ run : |
25+ echo "New labels: $NEW_LABELS"
26+ echo "All labels: $ALL_LABELS"
You can’t perform that action at this time.
0 commit comments