Title: Updater and danger - convert to actions · Issue #113 · getsentry/github-workflows · GitHub
Open Graph Title: Updater and danger - convert to actions · Issue #113 · getsentry/github-workflows
X Title: Updater and danger - convert to actions · Issue #113 · getsentry/github-workflows
Description: Historically, Updater and Danger workflows were reusable github workflows. This, however, poses a problem with the part that the workflows need to fetch scripts they need to run (dangerfile.js or powershell scripts in case of Updater). H...
Open Graph Description: Historically, Updater and Danger workflows were reusable github workflows. This, however, poses a problem with the part that the workflows need to fetch scripts they need to run (dangerfile.js or p...
X Description: Historically, Updater and Danger workflows were reusable github workflows. This, however, poses a problem with the part that the workflows need to fetch scripts they need to run (dangerfile.js or p...
Opengraph URL: https://github.com/getsentry/github-workflows/issues/113
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Updater and danger - convert to actions","articleBody":"Historically, Updater and Danger workflows were reusable github workflows.\n\nThis, however, poses a problem with the part that the workflows need to fetch scripts they need to run (dangerfile.js or powershell scripts in case of Updater). How this was done was a wget/invoke-webrequest that just download the script:\n\nhttps://github.com/getsentry/github-workflows/blob/c8c3a1965176b4098ae3c6bb97d8206121921ada/.github/workflows/danger.yml#L27\n\nThe problem is that the reusable workflow, when called from the consuming repository, doesn't get any information about the version the caller triggered it with, e.g. 2.14.0. I've tried getting around this [by specifying the version in the workflow itself](https://github.com/getsentry/github-workflows/blob/main/.github/workflows/danger.yml#L9) but then it fails when using craft to release due to the lack of permissions of the release action to update workflow files: `refusing to allow a GitHub App to create or update workflow `.github/workflows/danger.yml` without `workflows` permission`\n\nPreviously, we've just had \"v2\" specified in the workflow and relied on the file pulling the latest version at all times. This poses a problem if you want to just test out a release in a separate repository, before marking it stable and potentially break all the repos consuming v2.\n\n## Proposed solution\n\nChanging the workflows to a composite action should work, because we'd get the `${{ github.action_path }` context, like we already use in https://github.com/getsentry/github-workflows/blob/main/sentry-cli/integration-test/action.yml#L20\n\n## Potential Issues\n\n- Runner flexibility lost: updater can't specify runs-on\n\n--- \n\nIf we do this, we'll need to make a major release to avoid breaking anyone using \"v2\"","author":{"url":"https://github.com/vaind","@type":"Person","name":"vaind"},"datePublished":"2025-09-22T08:48:23Z","url":"https://github.com/getsentry/github-workflows/issues/113"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9f1e39eb-cdb8-333b-6153-accd15003b30 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8DDA:2BE220:492C68:63973A:6B00CDAA |
| html-safe-nonce | 5eda797e7ae1d4542a79bb92cd8272fc07808a4b4302c05bf3ecdd994c989d9d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RERBOjJCRTIyMDo0OTJDNjg6NjM5NzNBOjZCMDBDREFBIiwidmlzaXRvcl9pZCI6IjM5NTYwOTYxMDQ3MTc2Njc3NTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9e554e272ca728957e6db4ca1157f682cb4469a4f8e88f5ff3beaaeb2b605611 |
| hovercard-subject-tag | issue:3439819670 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/getsentry/github-workflows/113/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dfaedb99a95cc76ed25b39fde4250dac623d93aad94f262bd4a96baaeb8559c5/getsentry/github-workflows/issues/113 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dfaedb99a95cc76ed25b39fde4250dac623d93aad94f262bd4a96baaeb8559c5/getsentry/github-workflows/issues/113 |
| og:image:alt | Historically, Updater and Danger workflows were reusable github workflows. This, however, poses a problem with the part that the workflows need to fetch scripts they need to run (dangerfile.js or p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vaind |
| hostname | github.com |
| expected-hostname | github.com |
| None | 85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/github-workflows git https://github.com/getsentry/github-workflows.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 504147247 |
| octolytics-dimension-repository_nwo | getsentry/github-workflows |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 504147247 |
| octolytics-dimension-repository_network_root_nwo | getsentry/github-workflows |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4943239a6d2c591325dad6e5c313e1cafda877f6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width