From d4a628b74782f12ab44d7f2dde21ccb3a17b90a9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 25 Jan 2026 15:57:58 +0000 Subject: [PATCH 1/3] Initial plan From 0f6c3606738db4f5af9ef03dd7485f8c2d39400c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 25 Jan 2026 16:00:00 +0000 Subject: [PATCH 2/3] Update all references from Auto-Release to Release-GHRepository Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com> --- .../{Auto-Release.yml => Release-GHRepository.yml} | 8 ++++---- README.md | 12 ++++++------ action.yml | 8 ++++---- 3 files changed, 14 insertions(+), 14 deletions(-) rename .github/workflows/{Auto-Release.yml => Release-GHRepository.yml} (69%) diff --git a/.github/workflows/Auto-Release.yml b/.github/workflows/Release-GHRepository.yml similarity index 69% rename from .github/workflows/Auto-Release.yml rename to .github/workflows/Release-GHRepository.yml index 892e520..0c7cd13 100644 --- a/.github/workflows/Auto-Release.yml +++ b/.github/workflows/Release-GHRepository.yml @@ -1,6 +1,6 @@ -name: Auto-Release +name: Release-GHRepository -run-name: "Auto-Release - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" +run-name: "Release-GHRepository - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" on: pull_request_target: @@ -22,7 +22,7 @@ permissions: pull-requests: write jobs: - Auto-Release: + Release-GHRepository: runs-on: ubuntu-latest steps: - name: Checkout Code @@ -30,7 +30,7 @@ jobs: with: persist-credentials: false - - name: Auto-Release + - name: Release-GHRepository uses: ./ with: IncrementalPrerelease: false diff --git a/README.md b/README.md index a892a3e..a66e728 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ -# Auto-Release +# Release-GHRepository Automatically creates releases based on pull requests and labels. ## Specifications and practices -Auto-Release follows: +Release-GHRepository follows: - [SemVer 2.0.0 specifications](https://semver.org) - [GitHub Flow specifications](https://docs.github.com/en/get-started/using-github/github-flow) @@ -80,7 +80,7 @@ This example uses the date format for the prerelease, disables the incremental p Add a workflow in you repository using the following example: ```yaml -name: Auto-Release +name: Release-GHRepository on: pull_request_target: @@ -97,14 +97,14 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} jobs: - Auto-Release: + Release-GHRepository: runs-on: ubuntu-latest steps: - name: Checkout Code uses: actions/checkout@v4 - - name: Auto-Release - uses: PSModule/Auto-Release@v1 + - name: Release-GHRepository + uses: PSModule/Release-GHRepository@v1 ``` ## Permissions diff --git a/action.yml b/action.yml index 1d719ea..ddaaf84 100644 --- a/action.yml +++ b/action.yml @@ -1,4 +1,4 @@ -name: Auto Release (by PSModule) +name: Release GHRepository (by PSModule) description: Automatically creates releases based on pull requests and labels. author: PSModule branding: @@ -93,7 +93,7 @@ inputs: runs: using: composite steps: - - name: Auto-Release + - name: Release-GHRepository uses: PSModule/GitHub-Script@v1 env: PSMODULE_AUTO_RELEASE_INPUT_AutoCleanup: ${{ inputs.AutoCleanup }} @@ -117,8 +117,8 @@ runs: Prerelease: ${{ inputs.Prerelease }} Verbose: ${{ inputs.Verbose }} Version: ${{ inputs.Version }} - Name: Auto-Release + Name: Release-GHRepository WorkingDirectory: ${{ inputs.WorkingDirectory }} Script: | - # Auto-Release + # Release-GHRepository ${{ github.action_path }}/scripts/main.ps1 From d78fc8e5d0238c77c2c40c508ff7537aa2f3dbde Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 17:22:04 +0100 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Fix=20typos=20in?= =?UTF-8?q?=20descriptions=20for=20action=20inputs=20in=20README.md=20and?= =?UTF-8?q?=20action.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 12 ++++++------ action.yml | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index a66e728..d4a36da 100644 --- a/README.md +++ b/README.md @@ -39,14 +39,14 @@ The action can be configured using the following settings: | Name | Description | Default | Required | | --- | --- | --- | --- | -| `AutoCleanup`| Control wether to automatically cleanup prereleases. If disabled, the action will not remove any prereleases. | `true` | false | -| `AutoPatching` | Control wether to automatically handle patches. If disabled, the action will only create a patch release if the pull request has a 'patch' label. | `true` | false | +| `AutoCleanup`| Control whether to automatically cleanup prereleases. If disabled, the action will not remove any prereleases. | `true` | false | +| `AutoPatching` | Control whether to automatically handle patches. If disabled, the action will only create a patch release if the pull request has a 'patch' label. | `true` | false | | `ConfigurationFile` | The path to the configuration file. Settings in the configuration file take precedence over the action inputs. | `.github\auto-release.yml` | false | -| `CreateMajorTag` | Control wether to create a tag for major releases. | `true` | false | -| `CreateMinorTag` | Control wether to create a tag for minor releases. | `true` | false | +| `CreateMajorTag` | Control whether to create a tag for major releases. | `true` | false | +| `CreateMinorTag` | Control whether to create a tag for minor releases. | `true` | false | | `DatePrereleaseFormat` | The format to use for the prerelease number using [.NET DateTime format strings](https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings). | `''` | false | | `IgnoreLabels` | A comma separated list of labels that do not trigger a release. | `NoRelease` | false | -| `IncrementalPrerelease` | Control wether to automatically increment the prerelease number. If disabled, the action will ensure only one prerelease exists for a given branch. | `true` | false | +| `IncrementalPrerelease` | Control whether to automatically increment the prerelease number. If disabled, the action will ensure only one prerelease exists for a given branch. | `true` | false | | `MajorLabels` | A comma separated list of labels that trigger a major release. | `major, breaking` | false | | `MinorLabels` | A comma separated list of labels that trigger a minor release. | `minor, feature` | false | | `PatchLabels` | A comma separated list of labels that trigger a patch release. | `patch, fix` | false | @@ -54,7 +54,7 @@ The action can be configured using the following settings: | `UsePRBodyAsReleaseNotes` | When enabled, uses the pull request body as the release notes for the GitHub release. | `true` | false | | `UsePRTitleAsNotesHeading` | When enabled, the release notes will begin with the pull request title as a H1 heading followed by the pull request body. The title will include a reference to the PR number. | `true` | false | | `VersionPrefix` | The prefix to use for the version number. | `v` | false | -| `WhatIf` | Control wether to simulate the action. If enabled, the action will not create any releases. Used for testing. | `false` | false | +| `WhatIf` | Control whether to simulate the action. If enabled, the action will not create any releases. Used for testing. | `false` | false | | `Debug` | Enable debug output. | `'false'` | false | | `Verbose` | Enable verbose output. | `'false'` | false | | `Version` | Specifies the exact version of the GitHub module to install. | | false | diff --git a/action.yml b/action.yml index ddaaf84..826fa8d 100644 --- a/action.yml +++ b/action.yml @@ -7,11 +7,11 @@ branding: inputs: AutoCleanup: - description: Control wether to automatically delete the prerelease tags after the stable release is created. + description: Control whether to automatically delete the prerelease tags after the stable release is created. required: false default: 'true' AutoPatching: - description: Control wether to automatically handle patches. If disabled, the action will only create a patch release if the pull request has a 'patch' label. + description: Control whether to automatically handle patches. If disabled, the action will only create a patch release if the pull request has a 'patch' label. required: false default: 'true' ConfigurationFile: @@ -19,11 +19,11 @@ inputs: required: false default: .github\auto-release.yml CreateMajorTag: - description: Control wether to create a major tag when a pull request is merged into the main branch. + description: Control whether to create a major tag when a pull request is merged into the main branch. required: false default: 'true' CreateMinorTag: - description: Control wether to create a minor tag when a pull request is merged into the main branch. + description: Control whether to create a minor tag when a pull request is merged into the main branch. required: false default: 'true' DatePrereleaseFormat: @@ -35,7 +35,7 @@ inputs: required: false default: NoRelease IncrementalPrerelease: - description: Control wether to automatically increment the prerelease number. If disabled, the action will ensure only one prerelease exists for a given branch. + description: Control whether to automatically increment the prerelease number. If disabled, the action will ensure only one prerelease exists for a given branch. required: false default: 'true' MajorLabels: