- Notifications
You must be signed in to change notification settings - Fork1k
ci: allow dispatching workflow triage via label#20042
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Pull Request Overview
This PR adds the ability to trigger the AI triage workflow automatically when an issue is labeled with 'traiage', expanding beyond the existing manual workflow dispatch trigger. The changes introduce user permission checks, automatic GitHub issue commenting, and improved task status monitoring.
- Adds automatic triggering when issues are labeled with 'traiage'
- Implements user permission validation requiring write access
- Adds automatic commenting on GitHub issues when tasks are created
Tip: Customize your code reviews with copilot-instructions.md.Create the file orlearn how to get started.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Uh oh!
There was an error while loading.Please reload this page.
if:inputs.cleanup | ||
env: | ||
BUCKET_PREFIX:"gs://coder-traiage-outputs/traiage" | ||
CODER_USERNAME:${{ steps.get-coder-username.outputs.coder_username }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Thoughts about echoing into the env file rather than pulling from output?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I'm mostly indifferent, but I think explicitly pulling from output makes it easier to see the dependency chain between the steps. If you just dump everything intoGITHUB_ENV
it's easier to mix up the order imo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
</stamp>
98262d8
intomainUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Allows creating a task for an issue if a label 'traiage' is set.
Requires membership of the
coder
org to run.Manual workflow_dispatch:https://github.com/coder/coder/actions/runs/18158719999/job/51684512634