Skip to content

Commit 53e7bc2

Browse files
vaindclaude
andcommitted
docs: complete migration guide for composite actions
Add complete examples showing how to migrate from reusable workflows to composite actions for both updater and danger workflows. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6ca145e commit 53e7bc2

1 file changed

Lines changed: 46 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,54 @@
22

33
## Unreleased
44

5+
### Breaking Changes
6+
7+
Updater and Danger reusable workflows are now composite actions ([#114](https://github.com/getsentry/github-workflows/pull/114))
8+
9+
To update your existing Updater workflows:
10+
```yaml
11+
### Before
12+
native:
13+
uses: getsentry/github-workflows/.github/workflows/updater.yml@v2
14+
with:
15+
path: scripts/update-sentry-native-ndk.sh
16+
name: Native SDK
17+
secrets:
18+
# If a custom token is used instead, a CI would be triggered on a created PR.
19+
api-token: ${{ secrets.CI_DEPLOY_KEY }}
20+
### After
21+
native:
22+
runs-on: ubuntu-latest
23+
steps:
24+
- uses: getsentry/github-workflows/updater@v3
25+
with:
26+
path: scripts/update-sentry-native-ndk.sh
27+
name: Native SDK
28+
api-token: ${{ secrets.CI_DEPLOY_KEY }}
29+
```
30+
31+
To update your existing Danger workflows:
32+
```yaml
33+
### Before
34+
danger:
35+
uses: getsentry/github-workflows/.github/workflows/danger.yml@v2
36+
37+
### After
38+
danger:
39+
runs-on: ubuntu-latest
40+
steps:
41+
- uses: getsentry/github-workflows/danger@v3
42+
```
43+
544
### Features
645
7-
- Convert reusable workflows to composite actions ([#114](https://github.com/getsentry/github-workflows/pull/114))
46+
- Danger - Improve conventional commit scope handling, and non-conventional PR title support ([#105](https://github.com/getsentry/github-workflows/pull/105))
47+
- Add Proguard artifact endpoint for Android builds in sentry-server ([#100](https://github.com/getsentry/github-workflows/pull/100))
48+
- Updater - Add CMake FetchContent support for automated dependency updates ([#104](https://github.com/getsentry/github-workflows/pull/104))
49+
50+
### Security
51+
52+
- Updater - Prevent script injection vulnerabilities through workflow inputs ([#98](https://github.com/getsentry/github-workflows/pull/98))
853
954
## 2.14.1
1055

0 commit comments

Comments
 (0)