chore(deps): bump the uv group across 1 directory with 2 updates #50
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 base branch guard | |
| # Friendly nudge when a PR is opened against master. master is the stable | |
| # branch that installs track; contributions belong on dev. We don't auto-close | |
| # or auto-retarget — just leave a one-time comment so the author can switch the | |
| # base (the commits and review carry over). | |
| on: | |
| pull_request_target: | |
| types: [opened] | |
| branches: [master] | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| nudge: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Comment with retarget guidance | |
| uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v7.1.0 | |
| with: | |
| script: | | |
| const body = [ | |
| "👋 Thanks for the PR! This one targets **`master`**, which is our", | |
| "stable branch (it's what live installs track). Please retarget it to", | |
| "**`dev`** — click **Edit** next to the PR title and change the base", | |
| "branch dropdown from `master` to `dev`. Your commits and any review", | |
| "carry over, nothing is lost.", | |
| "", | |
| "See [CONTRIBUTING.md](../blob/master/CONTRIBUTING.md) for the branch model.", | |
| ].join("\n"); | |
| await github.rest.issues.createComment({ | |
| owner: context.repo.owner, | |
| repo: context.repo.repo, | |
| issue_number: context.payload.pull_request.number, | |
| body, | |
| }); |