[Contribution Process Bug]: Link to report a bug in beta version (https://aka.ms/bcpreviewbugs) not taking responses. #62
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: Dispatch AI Triage | |
| on: | |
| issues: | |
| types: [opened, edited, labeled] | |
| permissions: {} | |
| jobs: | |
| dispatch: | |
| if: >- | |
| github.event.issue.state == 'open' && ( | |
| github.event.action == 'opened' || | |
| github.event.action == 'edited' || | |
| github.event.label.name == 'ai-triage' | |
| ) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Trigger triage on BCAppsTriage | |
| env: | |
| TOKEN: ${{ secrets.TRIAGE_DISPATCH_TOKEN }} | |
| run: | | |
| curl -s -X POST \ | |
| -H "Authorization: token $TOKEN" \ | |
| -H "Accept: application/vnd.github+json" \ | |
| https://api.github.com/repos/microsoft/BCAppsTriage/dispatches \ | |
| -d '{"event_type":"issue-triage","client_payload":{"issue_number":${{ github.event.issue.number }}}}' |