feat: add --from flag and default-sender, add screening new mail control from cli #128
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: Classify PR | |
| on: | |
| pull_request_target: # zizmor: ignore[dangerous-triggers] -- required for write access to PRs from forks; workflow only calls reusable workflows, no PR code is checked out or executed | |
| types: [opened, synchronize, reopened] | |
| concurrency: | |
| group: classify-pr-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| classify: | |
| uses: basecamp/.github/.github/workflows/ai-classify-pr.yml@0f236fea0ac36da812ff7178af3af1b4ee686c3c | |
| with: | |
| prompt-file: .github/prompts/classify-pr.prompt.yml | |
| labels: "bug,enhancement,documentation" | |
| permissions: | |
| contents: read | |
| issues: write | |
| models: read | |
| pull-requests: write | |
| breaking: | |
| uses: basecamp/.github/.github/workflows/ai-breaking-change.yml@0f236fea0ac36da812ff7178af3af1b4ee686c3c | |
| with: | |
| prompt-file: .github/prompts/detect-breaking.prompt.yml | |
| file-patterns: | | |
| internal/cmd/*.go | |
| permissions: | |
| contents: read | |
| issues: write | |
| models: read | |
| pull-requests: write |