Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Add Untriaged Label to Any New, Transferred, or Reopened Issues #122

Closed
macohen opened this issue Jan 9, 2023 · 1 comment
Closed
Assignees
Labels
enhancement New feature or request

Comments

@macohen
Copy link
Collaborator

macohen commented Jan 9, 2023

Is your feature request related to a problem?

We want to make sure we have a way to easily identify issues that we haven't reviewed. By default new issues do get created with untriaged if created with a template, but this action should cover other use cases.

What solution would you like?

Add an action with the following...

name: Apply 'untriaged' label during issue lifecycle

on:
  issues:
    types: [opened, reopened, transferred]

jobs:
  apply-label:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/github-script@v6
        with:
          script: |
            github.rest.issues.addLabels({
              issue_number: context.issue.number,
              owner: context.repo.owner,
              repo: context.repo.repo,
              labels: ['untriaged']
            })

@sejli
Copy link
Member

sejli commented Jan 23, 2023

Merged in #141

@sejli sejli closed this as completed Jan 23, 2023
@macohen macohen moved this from Now(This Quarter) to ✅ Done in Search Project Board Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

3 participants