Skip to content

Commit 7a392c9

Browse files
vaindclaude
andcommitted
fix: use token instead of ssh-key for checkout and add changelog entry
Fix final issues in composite action conversion: 1. updater/action.yml: - Replace ssh-key parameter with token parameter in checkout steps - Composite actions receive GitHub tokens as inputs, not SSH keys - This fixes the 'Permission denied (publickey)' errors in CI 2. CHANGELOG.md: - Add changelog entry for the workflow-to-composite-actions conversion - Satisfies Danger JS changelog requirement This resolves all remaining CI failures and addresses both the review comments and the Danger JS requirements. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 1a45fda commit 7a392c9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
### Features
6+
7+
- Convert reusable workflows to composite actions ([#114](https://github.com/getsentry/github-workflows/pull/114))
8+
59
### Fixes
610

711
- Danger and updater download script URLs cannot use GITHUB_WORKFLOW_REF ([#111](https://github.com/getsentry/github-workflows/pull/111))

updater/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ runs:
9494
- name: Checkout repository
9595
uses: actions/checkout@v4
9696
with:
97-
ssh-key: ${{ inputs.api-token }}
97+
token: ${{ inputs.api-token }}
9898

9999
- name: Update to the latest version
100100
id: target
@@ -211,7 +211,7 @@ runs:
211211
if: ${{ ( steps.target.outputs.latestTag != steps.target.outputs.originalTag ) && ( steps.existing-pr.outputs.url == '') && ( steps.root.outputs.changed == 'false') }}
212212
uses: actions/checkout@v4
213213
with:
214-
ssh-key: ${{ inputs.api-token }}
214+
token: ${{ inputs.api-token }}
215215

216216
- name: 'After new PR: redo the update'
217217
if: ${{ ( steps.target.outputs.latestTag != steps.target.outputs.originalTag ) && ( steps.existing-pr.outputs.url == '') && ( steps.root.outputs.changed == 'false') }}

0 commit comments

Comments
 (0)