diff --git a/.github/workflows/issue-triage-labels.yml b/.github/workflows/issue-triage-labels.yml index cf17c39e..ebe5500c 100644 --- a/.github/workflows/issue-triage-labels.yml +++ b/.github/workflows/issue-triage-labels.yml @@ -18,6 +18,7 @@ jobs: const NO_ACTION_LABEL = 'no-action'; const LAST_READ_LABEL = 'last-read'; const TO_DISCUSS_LABEL = 'to-discuss'; + const INPROGRESS_LABEL = 'inprogress'; function issueHasLabel(issue, labelName) { return (issue.labels ?? []).some((label) => label.name === labelName); @@ -124,6 +125,8 @@ jobs: }); console.log(`Closed #${issue.number} as not planned`); + await removeLabelIfPresent(issue.number, issue, INPROGRESS_LABEL); + await github.rest.issues.removeLabel({ owner: context.repo.owner, repo: context.repo.repo,