Releases: getsentry/github-workflows
3.0.0
Breaking Changes
-
Updater: The default value for
pr-strategy
has been changed fromcreate
toupdate
. (#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: create
in 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
create
strategy, 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-branch
input 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.