File tree Expand file tree Collapse file tree 3 files changed +54
-0
lines changed
Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 88 label : Cross-mod Integration
99 description : " Does this feature involve integration with another mod? If so specify the mod(s). Otherwise, leave this blank."
1010 placeholder : " Example: Create Mod"
11+ - type : dropdown
12+ id : mc-version
13+ attributes :
14+ label : Minecraft Version
15+ description : The version of Minecraft you wish this feature was added for.
16+ options :
17+ - " Both"
18+ - " 1.20.1 Forge"
19+ - " 1.21.1 NeoForge"
1120 - type : textarea
1221 id : description
1322 attributes :
Original file line number Diff line number Diff line change 1+ # syntax - https://github.com/redhat-plumbers-in-action/advanced-issue-labeler#policy
2+
3+ policy :
4+ - template : [000-bug-report.yml, 001-feature-request.yml]
5+ section :
6+ - id : [mc-version]
7+ block-list : ['Both', 'Any']
8+ label :
9+ - name : ' 1.20'
10+ keys : ['1.20.1 Forge']
11+
12+ - name : ' 1.21'
13+ keys : ['1.21.1 NeoForge']
Original file line number Diff line number Diff line change 1+ # Manages labels on new issues
2+ name : Issue Labels
3+
4+ on :
5+ issues :
6+ types : [opened]
7+
8+ permissions :
9+ contents : read
10+
11+ jobs :
12+ labels :
13+ runs-on : ubuntu-latest
14+ permissions :
15+ issues : write # needed to utilize advanced-issue-labeler
16+ strategy :
17+ matrix :
18+ template : [ 000-bug-report.yml, 001-feature-request.yml ]
19+ steps :
20+ - uses : actions/checkout@v4
21+ - name : Parse issue form
22+ uses : stefanbuck/github-issue-parser@v3
23+ id : issue-parser
24+ with :
25+ template-path : .github/ISSUE_TEMPLATE/${{ matrix.template }}
26+
27+ - name : Set labels based on mc-version field
28+ uses : redhat-plumbers-in-action/advanced-issue-labeler@v3
29+ with :
30+ issue-form : ${{ steps.issue-parser.outputs.jsonString }}
31+ template : ${{ matrix.template }}
32+ token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments