|
2 | 2 |
|
3 | 3 | ## Unreleased |
4 | 4 |
|
| 5 | +### Features |
| 6 | + |
| 7 | +- Updater - Add `post-update-script` input parameter to run custom scripts after dependency updates ([#130](https://github.com/getsentry/github-workflows/pull/130), [#133](https://github.com/getsentry/github-workflows/pull/133)) |
| 8 | + - Scripts receive original and new version as arguments |
| 9 | + - Support both bash (`.sh`) and PowerShell (`.ps1`) scripts |
| 10 | + - Enables workflows like updating lock files, running code generators, or modifying configuration files |
| 11 | +- Updater - Add SSH key support and comprehensive authentication validation ([#134](https://github.com/getsentry/github-workflows/pull/134)) |
| 12 | + - Add `ssh-key` input parameter for deploy key authentication |
| 13 | + - Support using both `ssh-key` (for git) and `api-token` (for GitHub API) together |
| 14 | + - Add detailed token validation with actionable error messages |
| 15 | + - Detect common token issues: expiration, whitespace, SSH keys in wrong input, missing scopes |
| 16 | + - Validate SSH key format when provided |
| 17 | + |
5 | 18 | ### Fixes |
6 | 19 |
|
7 | 20 | - Updater - Fix boolean input handling for `changelog-entry` parameter and add input validation ([#127](https://github.com/getsentry/github-workflows/pull/127)) |
| 21 | +- Updater - Fix cryptic authentication errors with better validation and error messages ([#134](https://github.com/getsentry/github-workflows/pull/134), closes [#128](https://github.com/getsentry/github-workflows/issues/128)) |
| 22 | + |
| 23 | +### Dependencies |
| 24 | + |
| 25 | +- Bump Danger JS from v11.3.1 to v13.0.4 ([#132](https://github.com/getsentry/github-workflows/pull/132)) |
| 26 | + - [changelog](https://github.com/danger/danger-js/blob/main/CHANGELOG.md#1304) |
| 27 | + - [diff](https://github.com/danger/danger-js/compare/11.3.1...13.0.4) |
8 | 28 |
|
9 | 29 | ## 3.0.0 |
10 | 30 |
|
|
27 | 47 | - Updater and Danger reusable workflows are now composite actions ([#114](https://github.com/getsentry/github-workflows/pull/114)) |
28 | 48 |
|
29 | 49 | To update your existing Updater workflows: |
| 50 | + |
30 | 51 | ```yaml |
31 | 52 | ### Before |
32 | 53 | native: |
|
38 | 59 | # If a custom token is used instead, a CI would be triggered on a created PR. |
39 | 60 | api-token: ${{ secrets.CI_DEPLOY_KEY }} |
40 | 61 |
|
41 | | - ### After |
| 62 | + ### After (v3.0) |
42 | 63 | native: |
43 | 64 | runs-on: ubuntu-latest |
44 | 65 | steps: |
|
49 | 70 | api-token: ${{ secrets.CI_DEPLOY_KEY }} |
50 | 71 | ``` |
51 | 72 |
|
| 73 | + **Note**: If you were using SSH deploy keys with the v2 reusable workflow, the v3.0 composite action initially only supported tokens. |
| 74 | + SSH key support was restored in v3.1 ([#134](https://github.com/getsentry/github-workflows/pull/134)). To use SSH keys, update to v3.1+ and use the `ssh-key` input: |
| 75 | + |
| 76 | + ```yaml |
| 77 | + ### With SSH key (v3.1+) |
| 78 | + native: |
| 79 | + runs-on: ubuntu-latest |
| 80 | + steps: |
| 81 | + - uses: getsentry/github-workflows/updater@v3 |
| 82 | + with: |
| 83 | + path: scripts/update-sentry-native-ndk.sh |
| 84 | + name: Native SDK |
| 85 | + ssh-key: ${{ secrets.CI_DEPLOY_KEY }} |
| 86 | + ``` |
| 87 | + |
52 | 88 | To update your existing Danger workflows: |
| 89 | + |
53 | 90 | ```yaml |
54 | 91 | ### Before |
55 | 92 | danger: |
|
0 commit comments