Skip to content

Issue workflow#160

Merged
kruton merged 3 commits into
connectbot:mainfrom
kruton:issue-workflow
May 23, 2026
Merged

Issue workflow#160
kruton merged 3 commits into
connectbot:mainfrom
kruton:issue-workflow

Conversation

@kruton
Copy link
Copy Markdown
Member

@kruton kruton commented May 22, 2026

No description provided.

Add instructions for how security vulnerabilities may be reported. Also add other
issue templates so reports can be more organized and reporters know what information
is needed in a report.
Copilot AI review requested due to automatic review settings May 22, 2026 18:12
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces an issue-driven workflow for maintainers to prepare/publish releases and create maintenance branches, while also formalizing security reporting guidance and adding structured GitHub issue templates.

Changes:

  • Add GitHub Actions workflows + shell scripts to prepare releases, publish annotated vX.Y.Z tags, and create release/<major.minor> branches from labeled issues.
  • Configure the Gradle release plugin and adjust Spotless ratcheting to use the PR base ref / release branches when available.
  • Add SECURITY.md and a set of GitHub issue templates (release, release-branch, bug, feature, compatibility, security guidance).

Reviewed changes

Copilot reviewed 21 out of 22 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
SECURITY.md Adds a security policy and private vulnerability reporting instructions.
mise.toml Pins local dev tooling versions (actionlint/bats/java/jq/shellcheck).
build.gradle.kts Configures net.researchgate.release and makes Spotless ratchet ref branch-aware.
.github/workflows/ci.yml Expands CI triggers to release branches and version tags; adds Sonatype upload gating by snapshot/release.
.github/workflows/release-prepare.yml New workflow to prepare a release work branch and open/update a PR from an issue label.
.github/workflows/release-publish.yml New workflow to tag + fast-forward publish from a labeled issue after checks pass.
.github/workflows/release-branch.yml New workflow to create release/<major.minor> maintenance branches from labeled issues.
.github/scripts/release-common.sh Shared parsing/validation helpers for issue-driven release scripts.
.github/scripts/prepare-release.sh Automates creating release-work/<version> and running the Gradle release task in no-push mode.
.github/scripts/upsert-release-pr.sh Opens/updates the release PR and comments back on the issue.
.github/scripts/publish-release.sh Validates PR state/checks, creates annotated tag, and fast-forwards the target branch.
.github/scripts/create-release-branch.sh Creates a maintenance branch from a specified source ref/branch and comments back on the issue.
.github/scripts/comment-issue-failure.sh Posts tail of workflow logs as an issue comment on failure.
.github/tests/release-scripts.bats Adds a Bats test suite for the release automation scripts using stubs.
.github/ISSUE_TEMPLATE/* Adds structured issue forms for release workflows and common report types.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/scripts/release-common.sh
Comment thread .github/scripts/release-common.sh Outdated
Comment thread .github/scripts/publish-release.sh
Comment thread .github/workflows/ci.yml
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 22 out of 23 changed files in this pull request and generated 2 comments.

Comment thread .github/scripts/prepare-release.sh
Comment thread .github/workflows/ci.yml
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 25 out of 26 changed files in this pull request and generated 3 comments.

Comment thread .github/workflows/release-publish.yml
Comment thread .github/scripts/publish-release.sh Outdated
Comment thread .github/scripts/create-release-branch.sh
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 25 out of 26 changed files in this pull request and generated 3 comments.

Comment thread .github/workflows/release-prepare.yml
Comment thread .github/workflows/release-branch.yml
Comment thread mise.toml
@kruton kruton force-pushed the issue-workflow branch 2 times, most recently from 9c190dc to e9b224e Compare May 23, 2026 00:20
@kruton kruton requested a review from Copilot May 23, 2026 00:26
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 25 out of 26 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/release-publish.yml
kruton added 2 commits May 22, 2026 17:34
Use GitHub Actions to trigger the release workflow via issue.
@kruton kruton merged commit 250285b into connectbot:main May 23, 2026
11 checks passed
@kruton kruton deleted the issue-workflow branch May 23, 2026 00:39
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