Hi @realArcherL that's an excellent offer and very interesting approach. I'm sure Joanna would agree, I'm totally happy to encourage you to share a POC and using feature flag is a really great idea, I don't know whether we will ultimately ship it enabled, we would have to do some experiments and see if our coding agent teams were excited to use it or not. #99
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: AI Issue Assessment | |
| on: | |
| issues: | |
| types: [opened, labeled] | |
| jobs: | |
| ai-issue-assessment: | |
| if: > | |
| (github.event.action == 'opened' && github.event.issue.labels[0] == null) || | |
| (github.event.action == 'labeled' && github.event.label.name == 'bug') | |
| runs-on: ubuntu-latest | |
| permissions: | |
| issues: write | |
| models: read | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Run AI assessment | |
| uses: github/ai-assessment-comment-labeler@e3bedc38cfffa9179fe4cee8f7ecc93bffb3fee7 # v1.0.1 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| ai_review_label: 'bug, enhancement' | |
| issue_number: ${{ github.event.issue.number }} | |
| issue_body: ${{ github.event.issue.body }} | |
| prompts_directory: '.github/prompts' | |
| labels_to_prompts_mapping: 'bug,bug-report-review.prompt.yml|default,default-issue-review.prompt.yml' |