Title: Add `permissions: {}` to all reusable workflows by ezio-melotti · Pull Request #148114 · python/cpython · GitHub
Open Graph Title: Add `permissions: {}` to all reusable workflows by ezio-melotti · Pull Request #148114 · python/cpython
X Title: Add `permissions: {}` to all reusable workflows by ezio-melotti · Pull Request #148114 · python/cpython
Description: This PR explicitly adds permissions: {} to all reusable workflows, solving a number of CodeQL issues. Technically, this is not strictly needed, since the reusable workflows inherits the permissions of the caller, however doing so has 3 advantages: it solves the CodeQL issues; it explicitly defines the permissions in each reusable workflow; if the caller redefines its permissions to be more permissive, the reusable workflows are unaffected; I also tightened the permissions of a few workflows that had permissions: contents: read, and tested on my fork that everything still works fine.
Open Graph Description: This PR explicitly adds permissions: {} to all reusable workflows, solving a number of CodeQL issues. Technically, this is not strictly needed, since the reusable workflows inherits the permissions...
X Description: This PR explicitly adds permissions: {} to all reusable workflows, solving a number of CodeQL issues. Technically, this is not strictly needed, since the reusable workflows inherits the permissions...
Opengraph URL: https://github.com/python/cpython/pull/148114
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:cb76dd64-f31f-4f32-55fe-4508177fd57a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C590:9B27A:313153:40DE80:6A5169F1 |
| html-safe-nonce | d07ee11c04f507026b7106b0074ef61096707fb31ff406db94b083928bb74f88 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTkwOjlCMjdBOjMxMzE1Mzo0MERFODA6NkE1MTY5RjEiLCJ2aXNpdG9yX2lkIjoiNjYxNTAzMTc1OTc1ODI1NjYyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d5cfdd22b265f1539e651bbb03306710117039710ad107e03454ceeb23159b4e |
| hovercard-subject-tag | pull_request:3489547368 |
| 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/python/cpython/pull/148114/files |
| twitter:image | https://avatars.githubusercontent.com/u/25624924?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/25624924?s=400&v=4 |
| og:image:alt | This PR explicitly adds permissions: {} to all reusable workflows, solving a number of CodeQL issues. Technically, this is not strictly needed, since the reusable workflows inherits the permissions... |
| 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/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | 60eaaf6d4dbaa817031b556aebd8a0a7eeb81b97 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width