From 365bcb891d925c7842f7e39e4da1f6438deb362c Mon Sep 17 00:00:00 2001 From: Riley Park Date: Sun, 28 Apr 2024 12:12:57 -0700 Subject: [PATCH] [ci skip] adjust projects workflow for label changes --- .github/workflows/build.yml | 2 +- .github/workflows/projects.yml | 44 ++++++++++++++++------------------ 2 files changed, 22 insertions(+), 24 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 994352016e..8ff54667ec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -71,7 +71,7 @@ jobs: - name: Apply Patches run: | git config --global user.email "no-reply@github.com" - git config --global user.name "Github Actions" + git config --global user.name "GitHub Actions" ./gradlew applyPatches --stacktrace - name: Build diff --git a/.github/workflows/projects.yml b/.github/workflows/projects.yml index 979d00e5e4..253f6314d2 100644 --- a/.github/workflows/projects.yml +++ b/.github/workflows/projects.yml @@ -33,25 +33,23 @@ jobs: column-field: Status label-to-column-map: | { - "status: needs triage": "🕑 Needs Triage", + "resolution: cannot reproduce": "Invalid", + "resolution: duplicate": "Invalid", + "resolution: incomplete": "Invalid", + "resolution: invalid": "Invalid", + "resolution: superseded": "Invalid", + "resolution: unsupported": "Invalid", + "resolution: won't fix": "Invalid", + "resolution: works as intended": "Invalid", "status: accepted": "✅ Accepted", - "status: unlikely": "✅ Accepted", - "status: in progress": "Needs Work", - "status: rebase required": "Needs Work", + "status: awaiting response": "⌛ Waiting for Reporter", "status: blocked": "Needs Work", "status: defer upstream": "Needs Work", + "status: in progress": "Needs Work", "status: input wanted": "Needs Work", - "we must go deeper": "Needs Work", - "has rough edges": "Needs Work", - "status: waiting on reporter": "⌛ Waiting for Reporter", - "resolution: works-as-intended": "Invalid", - "resolution: invalid": "Invalid", - "resolution: wontfix": "Invalid", - "resolution: duplicate": "Invalid", - "resolution: cannot reproduce": "Invalid", - "resolution: unsupported": "Invalid", - "resolution: incomplete": "Invalid", - "resolution: superseded": "Invalid" + "status: needs triage": "🕑 Needs Triage", + "status: rebase required": "Needs Work", + "status: unlikely": "✅ Accepted" } - uses: PaperMC/update-projects-action@v0.2.0 @@ -65,14 +63,14 @@ jobs: # include "status: needs triage" below to catch any closed issues without setting a resolution label-to-column-map: | { + "resolution: cannot reproduce": "Invalid", + "resolution: duplicate": "Invalid", + "resolution: incomplete": "Invalid", + "resolution: invalid": "Invalid", + "resolution: superseded": "Invalid", + "resolution: unsupported": "Invalid", + "resolution: won't fix": "Invalid", + "resolution: works as intended": "Invalid", "status: accepted": "Done", "status: needs triage": "Invalid", - "resolution: works-as-intended": "Invalid", - "resolution: invalid": "Invalid", - "resolution: wontfix": "Invalid", - "resolution: duplicate": "Invalid", - "resolution: cannot reproduce": "Invalid", - "resolution: unsupported": "Invalid", - "resolution: incomplete": "Invalid", - "resolution: superseded": "Invalid" }