Skip to content

ci/release: Sign release commit PRs before pushing#629

Open
lexnv wants to merge 1 commit into
masterfrom
lexnv/sign-commits
Open

ci/release: Sign release commit PRs before pushing#629
lexnv wants to merge 1 commit into
masterfrom
lexnv/sign-commits

Conversation

@lexnv

@lexnv lexnv commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

As part of the release process, the CI action pushes a changelog for the release PR.

Currently, the commit is unverified / unsigned. This leads to an extra manual step where the release PR must be amended with a signature and force pushed

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
@lexnv

lexnv commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator Author

Tested with: #630

The commits are now signed

@lexnv lexnv requested a review from a team June 30, 2026 11:01
# (same parent, different SHA), so force is required.
gh api -X PATCH "repos/$REPO/git/refs/heads/$BRANCH" \
-f sha="$SIGNED_SHA" \
-F force=true >/dev/null

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What info we lose by redirecting to /dev/null?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants