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

Condition based on issue tag #2

Open
clairernovotny opened this issue Nov 25, 2019 · 1 comment
Open

Condition based on issue tag #2

clairernovotny opened this issue Nov 25, 2019 · 1 comment

Comments

@clairernovotny
Copy link

If I want to have this action run only for issues with a specific tag (new issue with tag/tag added to existing issue), can I do that? I'm not quite sure how to filter the events.

@rachmari
Copy link
Contributor

@clairernovotny I'm not sure if this is what you're looking for, but I use this action to triage issues with specific labels to a project board. For example:

- name: Triage to my project board
  uses: konradpabjan/[email protected]
  if: contains(github.event.issue.labels.*.name, 'high-priority') || contains(github.event.issue.labels.*.name, 'needs-fr'))
  with:
    action-token: ${{ secrets.MY_SUPER_SECRET }}
    project-url: "https://github.com/orgs/octo-org/projects/1234"
    column-name: "Needs triage"     

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