Skip to content

Commit 43b1cdc

Browse files
committed
Update GH workflow to new project boards
1 parent 568903d commit 43b1cdc

4 files changed

Lines changed: 55 additions & 52 deletions

File tree

.github/labeler.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
bug:
2-
- '- :bug: Bug'
2+
- '- :bug: Bug'
33
feature-long-term:
4-
- '- :heavy_plus_sign: Feature request'
4+
- '- :heavy_plus_sign: Feature request'
55
performance:
6-
- '- :snail: Performance issue'
6+
- '- :snail: Performance issue'
77
question:
8-
- '- :question: Question'
8+
- '- :question: Question'
99

1010
mc-1.12:
11-
- 'Minecraft: 1.12'
11+
- 'Minecraft: 1.12'
1212
mc-1.14:
13-
- 'Minecraft: 1.14'
13+
- 'Minecraft: 1.14'
1414
mc-1.15:
15-
- 'Minecraft: 1.15'
15+
- 'Minecraft: 1.15'
1616
mc-1.16:
17-
- 'Minecraft: 1.16'
17+
- 'Minecraft: 1.16'
1818
mc-1.18:
19-
- 'Minecraft: 1.18'
19+
- 'Minecraft: 1.18'
2020
mc-1.19:
21-
- 'Minecraft: 1.19'
21+
- 'Minecraft: 1.19'
2222
mc-1.20:
23-
- 'Minecraft: 1.20'
23+
- 'Minecraft: 1.20'
2424
mc-1.21:
25-
- 'Minecraft: 1.21'
25+
- 'Minecraft: 1.21'
2626
mc-1.22:
27-
- 'Minecraft: 1.22'
27+
- 'Minecraft: 1.22'
2828
mc-1.23:
29-
- 'Minecraft: 1.23'
29+
- 'Minecraft: 1.23'
3030
mc-1.24:
31-
- 'Minecraft: 1.24'
31+
- 'Minecraft: 1.24'
3232
mc-1.25:
33-
- 'Minecraft: 1.25'
33+
- 'Minecraft: 1.25'

.github/workflows/close-issues-no-response.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ jobs:
77
stale:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/stale@v3
10+
- uses: actions/stale@v9
1111
with:
1212
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1313
stale-issue-label: "more-information-needed"
1414
stale-issue-message: 'This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we do not have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.'
1515
days-before-close: 14
1616
days-before-stale: -1
17-
- uses: actions/stale@v3
17+
- uses: actions/stale@v9
1818
with:
1919
repo-token: "${{ secrets.GITHUB_TOKEN }}"
2020
only-labels: "invalid-template"

.github/workflows/issue-label-to-project-board.yml

Lines changed: 36 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -3,40 +3,43 @@ on:
33
issues:
44
types: [labeled]
55

6-
env:
7-
MY_GITHUB_TOKEN: ${{ secrets.PAT }}
8-
96
jobs:
107
assign:
118
runs-on: ubuntu-latest
129
steps:
13-
- name: Maintenance Issues
14-
uses: srggrs/assign-one-project-github-action@1.2.0
15-
if: |
16-
contains(github.event.issue.labels.*.name, 'bug') ||
17-
contains(github.event.issue.labels.*.name, 'performance') ||
18-
contains(github.event.issue.labels.*.name, 'question')
19-
with:
20-
project: 'https://github.com/orgs/CyclopsMC/projects/1'
21-
column_name: 'To Do'
22-
- name: Feature Optional
23-
uses: srggrs/assign-one-project-github-action@1.2.0
24-
if: |
25-
contains(github.event.issue.labels.*.name, 'feature-long-term')
26-
with:
27-
project: 'https://github.com/orgs/CyclopsMC/projects/2'
28-
column_name: 'Options'
29-
- name: Feature Accepted
30-
uses: srggrs/assign-one-project-github-action@1.2.0
31-
if: |
32-
contains(github.event.issue.labels.*.name, 'feature')
33-
with:
34-
project: 'https://github.com/orgs/CyclopsMC/projects/2'
35-
column_name: 'Accepted (To Do)'
36-
- name: More Information Needed
37-
uses: srggrs/assign-one-project-github-action@1.2.0
38-
if: |
39-
contains(github.event.issue.labels.*.name, 'more-information-needed')
40-
with:
41-
project: 'https://github.com/orgs/CyclopsMC/projects/1'
42-
column_name: 'On hold (awaiting input)'
10+
- name: Maintenance Issues
11+
id: add-project-maintenance
12+
uses: actions/add-to-project@v1.0.1
13+
with:
14+
project-url: https://github.com/orgs/CyclopsMC/projects/3
15+
github-token: ${{ secrets.PAT }}
16+
labeled: bug, performance, question, more-information-needed
17+
label-operator: OR
18+
- name: Development Issues
19+
id: add-project-development
20+
uses: actions/add-to-project@v1.0.1
21+
with:
22+
project-url: https://github.com/orgs/CyclopsMC/projects/4
23+
github-token: ${{ secrets.PAT }}
24+
labeled: feature-long-term, feature
25+
label-operator: OR
26+
- name: Feature Accepted
27+
if: |
28+
contains(github.event.issue.labels.*.name, 'feature')
29+
uses: titoportas/update-project-fields@v0.1.0
30+
with:
31+
project-url: https://github.com/orgs/CyclopsMC/projects/4
32+
github-token: ${{ secrets.PAT }}
33+
item-id: ${{ steps.add-project-development.outputs.itemId }}
34+
field-keys: Status
35+
field-values: 'Accepted (To Do)'
36+
- name: More Information Needed
37+
if: |
38+
contains(github.event.issue.labels.*.name, 'more-information-needed')
39+
uses: titoportas/update-project-fields@v0.1.0
40+
with:
41+
project-url: https://github.com/orgs/CyclopsMC/projects/3
42+
github-token: ${{ secrets.PAT }}
43+
item-id: ${{ steps.add-project-maintenance.outputs.itemId }}
44+
field-keys: Status
45+
field-values: 'On hold (awaiting input)'

.github/workflows/new-issue-label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
triage:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: github/issue-labeler@v2.0
10+
- uses: github/issue-labeler@v3.4
1111
with:
1212
repo-token: "${{ secrets.PAT }}"
1313
configuration-path: .github/labeler.yml

0 commit comments

Comments
 (0)