Skip to content

Fix 2-factor release process when target commit does not match workflow commit#1096

Draft
zanieb wants to merge 1 commit intomainfrom
zb/release-fix
Draft

Fix 2-factor release process when target commit does not match workflow commit#1096
zanieb wants to merge 1 commit intomainfrom
zb/release-fix

Conversation

@zanieb
Copy link
Copy Markdown
Member

@zanieb zanieb commented Apr 15, 2026

No description provided.

@zanieb zanieb added the ci:skip label Apr 15, 2026

- name: Mark deployment successful
run: |
gh api repos/${GITHUB_REPOSITORY}/deployments/${{ steps.create_deployment.outputs.deployment_id }}/statuses \
Comment on lines +39 to +47
id: vars
env:
INPUT_SHA: ${{ github.event.inputs.sha }}
run: |
target_sha="$INPUT_SHA"
if [ -z "$target_sha" ]; then
target_sha="$GITHUB_SHA"
fi
echo "target_sha=$target_sha" >> "$GITHUB_OUTPUT"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No clue why Codex wrote this convoluted step

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants