Skip to content

Commit e27799e

Browse files
vaindclaude
andcommitted
feat!: convert reusable workflows to composite actions
BREAKING CHANGE: Convert updater and danger reusable workflows to composite actions - Replace .github/workflows/updater.yml with updater/action.yml composite action - Replace .github/workflows/danger.yml with danger/action.yml composite action - Update test workflows to use local actions (./updater, ./danger) - Remove _workflow_version parameter (no longer needed with bundled scripts) - Convert secrets.api-token to inputs.api-token for updater action - Bundle all PowerShell scripts and JavaScript files locally with actions Migration for consumers: - OLD: uses: getsentry/github-workflows/.github/workflows/updater.yml@main - NEW: uses: getsentry/github-workflows/updater@main This addresses the script download reliability issues and simplifies action usage. Scripts are now bundled with each action version rather than downloaded at runtime. Closes #113 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent c8c3a19 commit e27799e

File tree

6 files changed

+316
-351
lines changed

6 files changed

+316
-351
lines changed

.github/workflows/danger-workflow-tests.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,14 @@ on:
77

88
jobs:
99
danger:
10-
uses: ./.github/workflows/danger.yml
11-
with:
12-
_workflow_version: ${{ github.sha }}
10+
runs-on: ubuntu-latest
11+
outputs:
12+
outcome: ${{ steps.danger.outputs.outcome }}
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Run danger action
16+
id: danger
17+
uses: ./danger
1318

1419
test-outputs:
1520
runs-on: ubuntu-latest

.github/workflows/danger.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/updater.yml

Lines changed: 0 additions & 287 deletions
This file was deleted.

0 commit comments

Comments
 (0)