Title: fix: request auto-merge on pull_request instead of pull_request_target by kvlonge · Pull Request #7 · sqlstack-io/.github · GitHub
Open Graph Title: fix: request auto-merge on pull_request instead of pull_request_target by kvlonge · Pull Request #7 · sqlstack-io/.github
X Title: fix: request auto-merge on pull_request instead of pull_request_target by kvlonge · Pull Request #7 · sqlstack-io/.github
Description: GitHub's default Actions policy blocks pull_request_target in public repositories, enforced from 2 December 2026 (https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target). A scheduled brownout already stopped this required workflow from starting on 16 November, so pull requests could not enter the merge queue. This switches the trigger to pull_request: The job checks out no pull request code. It only creates a delivery-app token and calls gh pr merge --auto. It already runs only for branches in the same repository (head.repo.full_name == github.repository). Same-repository pull_request runs receive repository and organization secrets, so the delivery token still works. Fork pull requests get no secrets under pull_request, and the job skips them anyway. The organization ruleset requires this file from refs/heads/main, so the merged version applies to every repository without ruleset changes. merge_group handling is unchanged. Known difference: Dependabot pull requests receive only Dependabot secrets under pull_request, so this job would not get the delivery key for them. Verification: this can only be exercised by a real pull request once merged. The first pull request in a public repository after merging should show Request Auto-Merge running on pull_request and auto-merge being enabled.
Open Graph Description: GitHub's default Actions policy blocks pull_request_target in public repositories, enforced from 2 December 2026 (https://gh.io/securely-using-pull_request_target#default-policy-for-pull_reques...
X Description: GitHub's default Actions policy blocks pull_request_target in public repositories, enforced from 2 December 2026 (https://gh.io/securely-using-pull_request_target#default-policy-for-pull_re...
Opengraph URL: https://github.com/sqlstack-io/.github/pull/7
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:55e93725-3388-d9b5-c1b5-cc9f0c6ed4a5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8D9A:36E658:1FE7B68:29D92D0:6B041B2C |
| html-safe-nonce | c891e6a7b70c96140d27100eebd318b4b103a9e58e0aa73bf06d7c099d1e6162 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDlBOjM2RTY1ODoxRkU3QjY4OjI5RDkyRDA6NkIwNDFCMkMiLCJ2aXNpdG9yX2lkIjoiNDUzMTE2NzY5NzA5NDA1Njc0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c0f9c71c0f292684ea0aad4c585985f09010507c894fe2e6b194ce42642a45e1 |
| hovercard-subject-tag | pull_request:5342046703 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/sqlstack-io/.github/pull/7/files |
| twitter:image | https://avatars.githubusercontent.com/u/273747162?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/273747162?s=400&v=4 |
| og:image:alt | GitHub's default Actions policy blocks pull_request_target in public repositories, enforced from 2 December 2026 (https://gh.io/securely-using-pull_request_target#default-policy-for-pull_reques... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/sqlstack-io/.github git https://github.com/sqlstack-io/.github.git |
| octolytics-dimension-user_id | 280907144 |
| octolytics-dimension-user_login | sqlstack-io |
| octolytics-dimension-repository_id | 1343798763 |
| octolytics-dimension-repository_nwo | sqlstack-io/.github |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1343798763 |
| octolytics-dimension-repository_network_root_nwo | sqlstack-io/.github |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | no-cache |
Viewport: width=device-width