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

New enhancement to add tags upon execution #120

Closed
dtzar opened this issue Jun 10, 2022 · 1 comment
Closed

New enhancement to add tags upon execution #120

dtzar opened this issue Jun 10, 2022 · 1 comment

Comments

@dtzar
Copy link

dtzar commented Jun 10, 2022

The current code is a filter to only add the issue to the project when those labels are detected.

          labeled: bug, needs-triage
          label-operator: OR

I would like to see a feature where you can have the task add new tags with whatever label(s) you desire upon execution. For instance, something like add-label:

on:
  issues:
    types:
      - opened

jobs:
  add-to-project:
    name: Add issue to project
    runs-on: ubuntu-latest
    steps:
      - uses: actions/add-to-project@main
        with:
          project-url: https://github.com/orgs/<orgName>/projects/<projectNumber>
          github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
          add-label: needs-triage
@mattcosta7
Copy link
Contributor

duplicate of #71

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants