Releases: getsentry/github-workflows
3.1.0
Features
- Updater - Add
post-update-scriptinput parameter to run custom scripts after dependency updates (#130, #133)- Scripts receive original and new version as arguments
- Support both bash (
.sh) and PowerShell (.ps1) scripts - Enables workflows like updating lock files, running code generators, or modifying configuration files
- Updater - Add SSH key support and comprehensive authentication validation (#134)
- Add
ssh-keyinput parameter for deploy key authentication - Support using both
ssh-key(for git) andapi-token(for GitHub API) together - Add detailed token validation with actionable error messages
- Detect common token issues: expiration, whitespace, SSH keys in wrong input, missing scopes
- Validate SSH key format when provided
- Add
Fixes
- Updater - Fix boolean input handling for
changelog-entryparameter and add input validation (#127) - Updater - Fix cryptic authentication errors with better validation and error messages (#134, closes #128)
Dependencies
3.0.0
Breaking Changes
-
Updater: The default value for
pr-strategyhas been changed fromcreatetoupdate. (#124)
This change means the updater will now maintain a single PR that gets updated with new dependency versions (instead of creating separate PRs for each version).
If you want to preserve the previous behavior of creating separate PRs, explicitly setpr-strategy: createin your workflow:- uses: getsentry/github-workflows/updater@v3 with: # ... other inputs ... pr-strategy: create # Add this to preserve previous behavior
In case you have existing open PRs created with the
createstrategy, you will need to remove these old branches
manually as the new name would be a prefix of the old PRs, which git doesnt' allow. -
Updater and Danger reusable workflows are now composite actions (#114)
To update your existing Updater workflows:
### Before native: uses: getsentry/github-workflows/.github/workflows/updater.yml@v2 with: path: scripts/update-sentry-native-ndk.sh name: Native SDK secrets: # If a custom token is used instead, a CI would be triggered on a created PR. api-token: ${{ secrets.CI_DEPLOY_KEY }} ### After native: runs-on: ubuntu-latest steps: - uses: getsentry/github-workflows/updater@v3 with: path: scripts/update-sentry-native-ndk.sh name: Native SDK api-token: ${{ secrets.CI_DEPLOY_KEY }}
To update your existing Danger workflows:
### Before danger: uses: getsentry/github-workflows/.github/workflows/danger.yml@v2 ### After danger: runs-on: ubuntu-latest steps: - uses: getsentry/github-workflows/danger@v3
Features
- Updater now supports targeting non-default branches via the new
target-branchinput parameter (#118) - Updater now supports filtering releases by GitHub release title patterns, e.g. to support release channels (#117)
- Updater now supports dependencies without changelog files by falling back to git commit messages (#116)
- Danger - Improve conventional commit scope handling, and non-conventional PR title support (#105)
- Add Proguard artifact endpoint for Android builds in sentry-server (#100)
- Updater - Add CMake FetchContent support for automated dependency updates (#104)
Security
- Updater - Prevent script injection vulnerabilities through workflow inputs (#98)
Fixes
- Updater - Fix null reference error when changelog has no existing bullet points (#125)
- Updater - Fix bullet-point resolution when plain text precedes bullet points (#123)
- Improve changelog generation for non-tagged commits and edge cases (#115)
- Use GITHUB_WORKFLOW_REF instead of _workflow_version input parameter to automatically determine workflow script versions (#109)
2.13.1
2.13.0
2.12.0
2.11.1
2.11.0
Features
- Add support for prettier-ignore notes on
CHANGELOG.md(#75)
Example of notes before ## Unreleased Header on CHANGELOG.md
Important
If you are upgrading to the 1.x versions of the Sentry SDK from 0.x or below,
make sure you follow our migration guide first.