From 0d11e5f165846c8a5efde164b4b1cb6f71f93392 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Sun, 25 Jan 2026 18:00:35 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=8C=9F[Major]:=20Rename=20action=20fr?= =?UTF-8?q?om=20`Auto-Release`=20to=20`Release-GHRepository`=20(#90)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updates all references from the previous repository name `Auto-Release` to the new name `Release-GHRepository` following the repository rename. - Fixes #89 ## Changes ### Configuration - **action.yml**: Updated action name from `Auto Release (by PSModule)` to `Release GHRepository (by PSModule)` and updated internal step names ### Documentation - **README.md**: Updated title, usage examples, and action references from `PSModule/Auto-Release@v1` to `PSModule/Release-GHRepository@v1` ### Workflows - **Release-GHRepository.yml**: Renamed workflow file and updated workflow name, run-name, job names, and step names to reflect the new repository name ## Breaking Changes - Repository renamed from `Auto-Release` to `Release-GHRepository` - Action reference changed from `PSModule/Auto-Release@v1` to `PSModule/Release-GHRepository@v1` - Users must update their workflow files to use the new action reference ## Migration Update your workflow files to use the new action reference: ```yaml # Before - uses: PSModule/Auto-Release@v1 # After - uses: PSModule/Release-GHRepository@v1 ``` ## Notes - GitHub automatically redirects old repository URLs, maintaining backward compatibility for existing users - This change aligns with the PSModule naming convention (`Verb-GH*` pattern for GitHub-specific actions) --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com> Co-authored-by: Marius Storhaug --- .../{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} (71%) diff --git a/.github/workflows/Auto-Release.yml b/.github/workflows/Release-GHRepository.yml similarity index 71% rename from .github/workflows/Auto-Release.yml rename to .github/workflows/Release-GHRepository.yml index daeed4c..b1fc836 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: @@ -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 7118218..eb54727 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 cc1538a..d6eb2a0 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@e827bea46d70eebc668bdd59e4654e0846177da4 # v1.7.9 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 88c70461c8f16cc09682005bcf3b7fca4dd8dc1a Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 18:41:01 +0100 Subject: [PATCH 2/3] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Fix=20typos=20in?= =?UTF-8?q?=20README.md=20(#91)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR fixes several typos in the README.md documentation file to improve clarity and professionalism. ### Fixed - Corrected grammar: "prereleases that **was** created" → "prereleases that **were** created" - Fixed possessive form: "actions configuration" → "action's configuration" - Fixed spelling: "change" → "changed" for proper verb tense - Corrected typo: "in **you** repository" → "in **your** repository" --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index eb54727..d6d992d 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The following labels will inform the action what kind of release to create: - `patch` - `fix` -When a pull request is closed, the action will create a release based on the labels and clean up any previous prereleases that was created. +When a pull request is closed, the action will create a release based on the labels and clean up any previous prereleases that were created. > [!NOTE] > The labels can be configured using the `MajorLabels`, `MinorLabels` and `PatchLabels` parameters/settings in the configuration file to trigger @@ -65,7 +65,7 @@ The action can be configured using the following settings: The configuration file is a YAML file that can be used to configure the action. By default, the configuration file is expected at `.github\auto-release.yml`, which can be changed using the `ConfigurationFile` setting. -The actions configuration can be change by altering the settings in the configuration file. +The action's configuration can be changed by altering the settings in the configuration file. ```yaml DatePrereleaseFormat: 'yyyyMMddHHmm' @@ -77,7 +77,7 @@ This example uses the date format for the prerelease, disables the incremental p ## Example -Add a workflow in you repository using the following example: +Add a workflow in your repository using the following example: ```yaml name: Release-GHRepository From 5a5165d66f485d1aad217ef34a190178b214fdcb Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Mon, 26 Jan 2026 00:04:49 +0100 Subject: [PATCH 3/3] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Standardize=20pro?= =?UTF-8?q?ject=20structure=20and=20update=20dependencies=20(#92)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Standardizes the repository structure by renaming the scripts folder to src, simplifies the Release workflow naming, and updates dependencies. ## Changes ### Renamed scripts folder to src - Moved `scripts/main.ps1` to `src/main.ps1` for consistency with other PSModule actions - Updated the path reference in `action.yml` to use the new location ### Simplified Release workflow - Renamed `Release-GHRepository.yml` to `Release.yml` - Updated workflow name from `Release-GHRepository` to `Release` for simplicity - Updated run-name and job names accordingly - Added path filters to only trigger on changes to `action.yml` and `src/**` ### Updated dependencies - Bumped `PSModule/GitHub-Script` from `v1.7.9` to `v1.7.10` ### Linter configuration cleanup - Removed unused `.jscpd.json` configuration file - Disabled JSCPD validation in Linter workflow as it's not needed for this repository --- .github/linters/.jscpd.json | 11 ----------- .github/workflows/Linter.yml | 1 + .../{Release-GHRepository.yml => Release.yml} | 11 +++++++---- action.yml | 4 ++-- {scripts => src}/main.ps1 | 0 5 files changed, 10 insertions(+), 17 deletions(-) delete mode 100644 .github/linters/.jscpd.json rename .github/workflows/{Release-GHRepository.yml => Release.yml} (71%) rename {scripts => src}/main.ps1 (100%) diff --git a/.github/linters/.jscpd.json b/.github/linters/.jscpd.json deleted file mode 100644 index 754ec0c..0000000 --- a/.github/linters/.jscpd.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "threshold": 0, - "reporters": [ - "consoleFull" - ], - "ignore": [ - "**/tests/**", - "**/scripts/**" - ], - "absolute": true -} diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml index cf13018..05f128c 100644 --- a/.github/workflows/Linter.yml +++ b/.github/workflows/Linter.yml @@ -29,6 +29,7 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} VALIDATE_BIOME_FORMAT: false + VALIDATE_JSCPD: false VALIDATE_JSON_PRETTIER: false VALIDATE_MARKDOWN_PRETTIER: false VALIDATE_YAML_PRETTIER: false diff --git a/.github/workflows/Release-GHRepository.yml b/.github/workflows/Release.yml similarity index 71% rename from .github/workflows/Release-GHRepository.yml rename to .github/workflows/Release.yml index b1fc836..106730e 100644 --- a/.github/workflows/Release-GHRepository.yml +++ b/.github/workflows/Release.yml @@ -1,6 +1,6 @@ -name: Release-GHRepository +name: Release -run-name: "Release-GHRepository - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" +run-name: "Release - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" on: pull_request: @@ -12,6 +12,9 @@ on: - reopened - synchronize - labeled + paths: + - 'action.yml' + - 'src/**' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -22,7 +25,7 @@ permissions: pull-requests: write jobs: - Release-GHRepository: + Release: runs-on: ubuntu-latest steps: - name: Checkout Code @@ -30,7 +33,7 @@ jobs: with: persist-credentials: false - - name: Release-GHRepository + - name: Release uses: ./ with: IncrementalPrerelease: false diff --git a/action.yml b/action.yml index d6eb2a0..aa41bfe 100644 --- a/action.yml +++ b/action.yml @@ -94,7 +94,7 @@ runs: using: composite steps: - name: Release-GHRepository - uses: PSModule/GitHub-Script@e827bea46d70eebc668bdd59e4654e0846177da4 # v1.7.9 + uses: PSModule/GitHub-Script@0097f3bbe3f413f3b577b9bcc600727b0ca3201a # v1.7.10 env: PSMODULE_AUTO_RELEASE_INPUT_AutoCleanup: ${{ inputs.AutoCleanup }} PSMODULE_AUTO_RELEASE_INPUT_AutoPatching: ${{ inputs.AutoPatching }} @@ -121,4 +121,4 @@ runs: WorkingDirectory: ${{ inputs.WorkingDirectory }} Script: | # Release-GHRepository - ${{ github.action_path }}/scripts/main.ps1 + ${{ github.action_path }}/src/main.ps1 diff --git a/scripts/main.ps1 b/src/main.ps1 similarity index 100% rename from scripts/main.ps1 rename to src/main.ps1