Automated release commits are unverified (unsigned)

Open
#31 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
github-actions, shell
Domain
ci-cd, release

Research direction

Start by reading src/functions.sh, especially git_config(), then trace the commit and push logic in release-pr/release-pr.sh and prepare-dev/prepare-dev.sh. Confirm how the GitHub REST API should replace those operations and verify that automated release commits from both scripts appear as Verified rather than Unverified.

Written by the indexing model from the issue text.

Description

Problem

Commits created by the release-pr and prepare-dev scripts show as Unverified on GitHub because they use git commit from the CLI, which does not GPG-sign commits.

This affects all repositories using plugin-release-actions, for example:

Root cause

git_config() in src/functions.sh sets user.email and user.name but does not configure GPG signing. Commits created via git commit in GitHub Actions are never verified unless they are GPG-signed or created through the GitHub API.

Suggested fix

Replace git commit + git push with commits created via the GitHub REST API (POST /repos/{owner}/{repo}/git/commits). Commits created through the API are automatically signed by GitHub's web-flow GPG key and appear as Verified.

This would affect git_config() / commit logic in:

  • release-pr/release-pr.sh
  • prepare-dev/prepare-dev.sh
  • src/functions.sh
Dominant language
Shell
Stars
2
Forks
1
Avg merge
13h 6m
Merged PRs (30d)
3

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from pantheon-systems/plugin-release-actions

All issues in pantheon-systems/plugin-release-actions

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.