feat: add optional You.com search integration #7
Workflow file for this run
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: PR Auto-Label | |
| on: | |
| # `pull_request_target` so the labeler can write to PRs from forks. | |
| # Safe here because we don't run any code from the PR — just labeler logic | |
| # against file paths. | |
| pull_request_target: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| label: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/labeler@v6 | |
| with: | |
| configuration-path: .github/labeler.yml | |
| # sync-labels: true makes .github/labeler.yml the single source of | |
| # truth for tool:* labels — a maintainer manually adding/removing | |
| # a tool:* label will be reconciled away on the next push. That | |
| # matches the intent here: paths drive labels, not human guesses. | |
| # If you want manual overrides to stick (e.g. tagging a PR that | |
| # tangentially touches a tool without hitting its paths), flip to | |
| # `sync-labels: false`. | |
| sync-labels: true |