-
-
Notifications
You must be signed in to change notification settings - Fork 6
Comparing changes
Open a pull request
base repository: getsentry/github-workflows
base: 3.3.0
head repository: getsentry/github-workflows
compare: 3.4.0
- 19 commits
- 16 files changed
- 13 contributors
Commits on Feb 18, 2026
-
getsentry-bot committed
Feb 18, 2026 Configuration menu - View commit details
-
Copy full SHA for fb91df3 - Browse repository at this point
Copy the full SHA fb91df3View commit details
Commits on Mar 18, 2026
-
fix: prevent script injection by using environment variables (#150)
Fix GitHub Actions script injection vulnerability by using intermediate environment variables instead of direct interpolation of github context data in run steps. Changes: - updater/action.yml: Use env vars for inputs.name, inputs.path, inputs.changelog-entry, inputs.pr-strategy, and inputs.post-update-script - sentry-cli/integration-test/action.yml: Use env vars for github.action_path and inputs.path This prevents potential code injection attacks where untrusted input could be executed as shell commands. Fixes: https://linear.app/getsentry/issue/VULN-1100 Fixes: https://linear.app/getsentry/issue/DI-1657 Co-authored-by: fix-it-felix-sentry[bot] <260785270+fix-it-felix-sentry[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 669decb - Browse repository at this point
Copy the full SHA 669decbView commit details
Commits on Mar 24, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 705635b - Browse repository at this point
Copy the full SHA 705635bView commit details
Commits on Mar 27, 2026
-
feat: Add validate-pr composite action (#153)
Add a composite action that validates non-maintainer PRs against contribution guidelines. Checks that PRs reference a GitHub issue with prior maintainer discussion, and enforces draft status on all new PRs. Extracts the validation logic into standalone JS scripts for testability, matching the pattern used by the danger action. Previously this workflow was being copy-pasted across SDK repos (327 lines each). Now each repo only needs a ~15-line caller workflow. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 9616b0e - Browse repository at this point
Copy the full SHA 9616b0eView commit details -
fix(validate-pr): Address review feedback (#154)
- Paginate comment listing in enforce-draft.js to handle PRs with 30+ comments - Add null check on comment user property for deleted/suspended accounts - Clarify in README that maintainers are only exempt from issue validation, not draft enforcement Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 4243265 - Browse repository at this point
Copy the full SHA 4243265View commit details -
fix(validate-pr): Allow trusted bots to bypass validation (#155)
* fix(validate-pr): Allow trusted bots and service accounts to bypass validation Adds an allowlist of trusted bots and service accounts that are exempt from issue reference validation. Prevents dependabot, renovate, and internal release bots from being automatically closed. The allowlist is managed centrally in validate-pr.js — SDK repos pick up changes via SHA bumps. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * fix: Also skip draft enforcement for allowed bots Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 4ff40ad - Browse repository at this point
Copy the full SHA 4ff40adView commit details
Commits on Mar 28, 2026
-
fix(validate-pr): Add sentry-mobile-updater to bot allowlist (#156)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for f5db9d2 - Browse repository at this point
Copy the full SHA f5db9d2View commit details -
fix(validate-pr): set
skippedoutput for admin/maintain authors (#158)* Initial plan * fix: add missing setOutput('skipped', 'true') for maintainer check Agent-Logs-Url: https://github.com/getsentry/github-workflows/sessions/679d4d30-c819-45cb-b992-04eb4dbc6193 Co-authored-by: jpnurmi <140617+jpnurmi@users.noreply.github.com> * fix(validate-pr): set skipped output for admin/maintain authors Co-authored-by: jpnurmi <140617+jpnurmi@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jpnurmi <140617+jpnurmi@users.noreply.github.com>Configuration menu - View commit details
-
Copy full SHA for 6c8116f - Browse repository at this point
Copy the full SHA 6c8116fView commit details
Commits on Mar 30, 2026
-
fix(validate-pr): Remove draft enforcement from composite action (#159)
The `convertPullRequestToDraft` GraphQL mutation requires permissions that the SDK Maintainer Bot app does not have, causing the action to fail on non-draft PRs. Remove the draft conversion and labeling steps entirely rather than expanding the app's permissions. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 0b52fc6 - Browse repository at this point
Copy the full SHA 0b52fc6View commit details
Commits on Apr 1, 2026
-
feat(validate-pr): Skip all checks when a maintainer reopens a PR (#161)
* feat(validate-pr): Skip all checks when a maintainer reopens a PR When a maintainer reopens a previously closed PR, skip all validation (issue reference, maintainer discussion, assignee checks). This allows maintainers to override the action's decision without the PR being immediately closed again. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * ref(validate-pr): Move maintainer-reopen check after bot check Avoids an unnecessary GitHub API call when the PR author is a bot. Also renumbers steps for consistency. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 02fd7a2 - Browse repository at this point
Copy the full SHA 02fd7a2View commit details -
feat(validate-pr): Skip checks for users with write access (#162)
* feat(validate-pr): Skip checks for users with write access Users with write repository access (admin, maintain, or write role) now bypass PR validation. Maintainer-only checks (reopening closed PRs, counting as maintainer in issue discussions) remain restricted to admin/maintain roles. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 71588dd - Browse repository at this point
Copy the full SHA 71588ddView commit details
Commits on May 4, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 43bf14b - Browse repository at this point
Copy the full SHA 43bf14bView commit details
Commits on May 11, 2026
-
fix(updater): Select first matching main branch (#165)
* test(updater): Update sentry-cli branch assertion sentry-cli currently has main and master pointing at the same HEAD, so the updater emits both names in mainBranch output. Match that fixture output instead of requiring master only. * select first * Update CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 80476a9 - Browse repository at this point
Copy the full SHA 80476a9View commit details -
chore: update danger/danger.properties to 13.0.5 (#160)
Co-authored-by: GitHub <noreply@github.com>
Configuration menu - View commit details
-
Copy full SHA for d81d746 - Browse repository at this point
Copy the full SHA d81d746View commit details -
test(updater): Accept either main or master as sentry-cli main branch (…
…#167) The `writes output` / `writes to env:GITHUB_OUTPUT` tests assert against the live state of getsentry/sentry-cli via `git ls-remote`. Whether the script reports `main` or `master` depends on which of the two currently points at the upstream HEAD, which flips over time. PR #165 baked `main` into the assertion while both happened to point at HEAD; sentry-cli has since diverged and post-merge CI on main now reports `master`, failing the test. Accept either branch name so the test isn't coupled to transient upstream branch state.
Configuration menu - View commit details
-
Copy full SHA for 98c1e36 - Browse repository at this point
Copy the full SHA 98c1e36View commit details -
fix(updater): Trigger CI for new PRs without changelog updates (#166)
* fix(updater): Trigger CI for new PRs without changelog updates New updater PRs can end with no branch update after creation when changelog entries are disabled. Amend and push the created PR commit in that case so GitHub emits a pull_request synchronize event. Fixes: #164 Co-Authored-By: OpenAI Codex <noreply@openai.com> * Update CHANGELOG.md * Update updater/action.yml Co-authored-by: Ivan Dlugos <6349682+vaind@users.noreply.github.com> --------- Co-authored-by: OpenAI Codex <noreply@openai.com> Co-authored-by: Ivan Dlugos <6349682+vaind@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for a940f77 - Browse repository at this point
Copy the full SHA a940f77View commit details -
fix: complete script injection hardening across all actions (#152)
* fix: complete script injection hardening across all actions PR #150 moved user inputs to env vars but left step outputs (`steps.*.outputs.*`) directly interpolated in `run:` blocks — an attacker controlling e.g. git tags in a dependency repo could still inject arbitrary commands. Additionally, switch all PowerShell run blocks from double-quote string interpolation (`"$env:VAR"`) to string concatenation (`'prefix' + $env:VAR`) to eliminate any possibility of subexpression evaluation. Changes: - updater/action.yml: move all remaining step outputs (tags, URLs, branch names) to env vars; replace double-quote interpolation with concatenation throughout - sentry-cli/integration-test/action.yml: same concatenation fix - danger/action.yml: move docker image version from direct interpolation to env var with semver validation Refs: VULN-1100 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * Update updater/action.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * fix(updater): URL-encode existing-PR query params; add changelog entry PR branches derived from CMake dependency paths can contain '#', which the previous query-string concatenation would treat as a URL fragment delimiter and truncate. Switch to `gh api -X GET -f` so gh URL-encodes the values, ensuring existing PRs are still matched when the branch name contains special characters. Also add the changelog entry for this PR so the advisory danger check passes. --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 24be696 - Browse repository at this point
Copy the full SHA 24be696View commit details
Commits on May 12, 2026
-
chore: update getsentry/craft to 2.26.3 (#168)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Configuration menu - View commit details
-
Copy full SHA for 82866c1 - Browse repository at this point
Copy the full SHA 82866c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 607fed7 - Browse repository at this point
Copy the full SHA 607fed7View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 3.3.0...3.4.0