Title: Make use of the `GITHUB_ACTION_REPOSITORY` environment variable if it is set. by chrisgavin · Pull Request #298 · github/codeql-action · GitHub
Open Graph Title: Make use of the `GITHUB_ACTION_REPOSITORY` environment variable if it is set. by chrisgavin · Pull Request #298 · github/codeql-action
X Title: Make use of the `GITHUB_ACTION_REPOSITORY` environment variable if it is set. by chrisgavin · Pull Request #298 · github/codeql-action
Description: Now that the change in actions/runner#585 is merged it should be possible to make use of the new GITHUB_ACTION_REPOSITORY environment variable, rather than relying on the more brittle guess at the name of the Action being used. Unfortunately we can't fully remove the logic where we guess the Action repository name by the path at which it is checked out because users of GHES 2.22 might still need this, but it does mean we can put a final sunset date on the removal of this code once 2.22 reaches end-of-support. I've also added some info-level logging in the hopefully rare case that GITHUB_ACTION_REPOSITORY is not set in order to help debug any issues caused by the guessing logic. Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. Confirm the readme has been updated if necessary.
Open Graph Description: Now that the change in actions/runner#585 is merged it should be possible to make use of the new GITHUB_ACTION_REPOSITORY environment variable, rather than relying on the more brittle guess at the ...
X Description: Now that the change in actions/runner#585 is merged it should be possible to make use of the new GITHUB_ACTION_REPOSITORY environment variable, rather than relying on the more brittle guess at the ...
Opengraph URL: https://github.com/github/codeql-action/pull/298
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e4bfb295-baf4-b2c5-5395-e55012ae5543 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9250:6E56C:2B2A804:3AAFD50:6A548D08 |
| html-safe-nonce | f2d72f85696c649a23be0ff8b8e0588c94fc26511ae2a85fec8ea38f7382589e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjUwOjZFNTZDOjJCMkE4MDQ6M0FBRkQ1MDo2QTU0OEQwOCIsInZpc2l0b3JfaWQiOiIxOTI1NjA0NzM3MzI5NDMzODY0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ebf43d41e14c288f306c8563f0c8f6d5570611b7a3e861076832752bc1a4f00a |
| hovercard-subject-tag | pull_request:518463943 |
| 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/298/files |
| twitter:image | https://avatars.githubusercontent.com/u/5584439?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/5584439?s=400&v=4 |
| og:image:alt | Now that the change in actions/runner#585 is merged it should be possible to make use of the new GITHUB_ACTION_REPOSITORY environment variable, rather than relying on the more brittle guess at the ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | f8cfff6384f62259baea531c7f58bc7040f8dd92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width