Title: Do not always overwrite the GITHUB_REF for PRs by rneatherway · Pull Request #217 · github/codeql-action · GitHub
Open Graph Title: Do not always overwrite the GITHUB_REF for PRs by rneatherway · Pull Request #217 · github/codeql-action
X Title: Do not always overwrite the GITHUB_REF for PRs by rneatherway · Pull Request #217 · github/codeql-action
Description: As we move towards analysing the merge commit for pull requests by default, we should stop sending /refs/pull/n/head rather than refs/pull/n/merge unless the checked-out SHA has actually changed. Here we assume that any change (compared to GITHUB_SHA) indicates that git checkout HEAD^2 has been run earlier. This may sometimes be incorrect (e.g. git checkout mybranch), but in that case the ref would be wrong either way. Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. Confirm the readme has been updated if necessary.
Open Graph Description: As we move towards analysing the merge commit for pull requests by default, we should stop sending /refs/pull/n/head rather than refs/pull/n/merge unless the checked-out SHA has actually changed. H...
X Description: As we move towards analysing the merge commit for pull requests by default, we should stop sending /refs/pull/n/head rather than refs/pull/n/merge unless the checked-out SHA has actually changed. H...
Opengraph URL: https://github.com/github/codeql-action/pull/217
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:2c216df5-c8ec-b3ef-a484-3fde7f9fd0de |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 90E6:A72D1:791254:A64EF5:6A554C11 |
| html-safe-nonce | 002f75fab0c909020e6e39709dff350e862b39cddcd495352d8551b24ae61ef8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MEU2OkE3MkQxOjc5MTI1NDpBNjRFRjU6NkE1NTRDMTEiLCJ2aXNpdG9yX2lkIjoiMzk0ODMyMzYwNTQ3MDA3MTgyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4bc75189fb8427a8043bdaedae335fcad246ffa2c41fee160038580968367510 |
| hovercard-subject-tag | pull_request:488620705 |
| 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/github/codeql-action/pull/217/files |
| twitter:image | https://avatars.githubusercontent.com/u/243995?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/243995?s=400&v=4 |
| og:image:alt | As we move towards analysing the merge commit for pull requests by default, we should stop sending /refs/pull/n/head rather than refs/pull/n/merge unless the checked-out SHA has actually changed. H... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | cd9eea424140838b22e9eabd53d92b5702617ddd6d76efcd3a37f08d44309ca5 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3084b9f587e8f1e19803bbe0c77ac77ce3c99c5c |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width