Skip to content

Create GitHub Actions: Detect issues closed w/o PR or ignore #8139

@dvernon5

Description

@dvernon5

Overview

We need a new GitHub Action to detect when an assigned issue is closed without either a linked pull request (PR), an Ignore label, or a non-PR contribution label so that these issues are not lost.

Action Items

  • Create a label: non-PR contribution
    • Description: "For wiki additions/revisions, audit spreadsheet contributions, issue-making ERs and Epics, etc."
  • Create a new GitHub Action with the following features
    • Reopen issues that are closed without:
      • A linked PR,
      • An Ignore label, OR
      • A non-PR contribution label
    • The automation should add the label: ready for product
    • The automation should leave a comment on the issue with this text
      This issue was reopened because it did not have any of the following:
      - A linked PR,
      - An `Ignore` label
      - A `non-PR contribution` label
      
    • The automation should move the issue to the "Questions / In Review" column on the project board

Resources/Instructions

Never done GitHub actions? Start here!
Hack for LA's Github Actions (latest)

Note that you might want to do something outside the scope of the above pseudo-code. If so, be sure to leave comments in your PR or this issue that justify your reasoning. If you feel you need guidance, be sure to reach out! We cannot foresee whether this issue is solvable, or what hard decisions have to be made, but we would love to hear and help you!

Additional resources:

Events that trigger workflows
Workflow syntax for GitHub Actions
GitHub GraphQL

Related Issues

This issue was initiated by ER #6291

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions