Skip to content

feat(github-actions): add workflow to automate GitHub release creation#358

Closed
DecSmith42 wants to merge 4 commits into
mainfrom
feat/create-github-release
Closed

feat(github-actions): add workflow to automate GitHub release creation#358
DecSmith42 wants to merge 4 commits into
mainfrom
feat/create-github-release

Conversation

@DecSmith42

Copy link
Copy Markdown
Collaborator

Introduced a new GitHub Actions workflow CreateRelease to automate the process of creating GitHub releases. Added support for tagging specific commits or branches and generating corresponding releases. Enhanced IGithubReleaseHelper with methods for release creation and artifact uploads, along with detailed documentation updates.

Introduced a new GitHub Actions workflow `CreateRelease` to automate the process of creating GitHub releases. Added support for tagging specific commits or branches and generating corresponding releases. Enhanced `IGithubReleaseHelper` with methods for release creation and artifact uploads, along with detailed documentation updates.
Updated `CreateRelease` in `IDeployTargets` to use semantic versioning format (`Major.Minor.Patch`) for GitHub release creation. This ensures consistent and precise versioning during release execution.
Copilot AI review requested due to automatic review settings June 27, 2026 12:27
@DecSmith42 DecSmith42 enabled auto-merge June 27, 2026 12:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds first-class “create GitHub release” support to Atom’s GitHub Workflows module and wires it into this repo’s generated workflows so a manual GitHub Actions run can tag and publish a release.

Changes:

  • Added IGithubReleaseHelper.CreateRelease(...) for creating releases (optionally targeting a branch/SHA) with a dry-run behavior outside GitHub Actions.
  • Introduced a new generated workflow CreateRelease plus an _atom target (CreateGithubRelease) to execute it.
  • Updated GitHub Workflows module docs and IDE dictionary settings for “commitish”.

Reviewed changes

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

Show a summary per file
File Description
src/Invex.Atom.Module.GithubWorkflows/Helpers/IGithubReleaseHelper.cs Adds CreateRelease(...) default interface method using Octokit and dry-run behavior.
Invex.Atom.sln.DotSettings Adds “Commitish” to user dictionary.
docs/modules/github-workflows.md Documents the new release helper and provides examples.
.github/workflows/CreateRelease.yml New generated workflow to run SetupBuildInfo then CreateGithubRelease.
_atom/Targets/IDeployTargets.cs Adds CreateGithubRelease target that calls the new helper.
_atom/IBuild.cs Registers the new CreateRelease workflow definition and required token permissions.

Comment thread src/Invex.Atom.Module.GithubWorkflows/Helpers/IGithubReleaseHelper.cs Outdated
Comment thread _atom/Targets/IDeployTargets.cs Outdated
Copilot AI review requested due to automatic review settings June 27, 2026 12:31
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 6 out of 6 changed files in this pull request and generated 2 comments.

Comment thread _atom/Targets/IDeployTargets.cs Outdated
Comment thread _atom/Targets/IDeployTargets.cs
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 27, 2026 12:37

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 6 out of 6 changed files in this pull request and generated 1 comment.

$"Unable to parse GitHub repository id from '{Github.VariableNames.RepositoryId}' (value: '{Github.Variables.RepositoryId}').");

return await client.Repository.Release.Create(repositoryId, newRelease);

@DecSmith42 DecSmith42 closed this Jun 27, 2026
auto-merge was automatically disabled June 27, 2026 13:01

Pull request was closed

@DecSmith42 DecSmith42 deleted the feat/create-github-release branch June 27, 2026 13:01
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