From 01ff4e87bb335a4d374952a35ae2a7d23dcf2d47 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 21:32:30 +0100 Subject: [PATCH 1/3] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Remove=20deprecat?= =?UTF-8?q?ed=20workflow=20file=20and=20restructure=20release=20process=20?= =?UTF-8?q?with=20new=20YAML=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{Release-GHRepository.yml => Release.yml} | 11 +++++++---- action.yml | 2 +- {scripts => src}/main.ps1 | 0 3 files changed, 8 insertions(+), 5 deletions(-) rename .github/workflows/{Release-GHRepository.yml => Release.yml} (71%) rename {scripts => src}/main.ps1 (100%) 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..414fd47 100644 --- a/action.yml +++ b/action.yml @@ -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 From f85baf89bf3babcaa8685d682428fe13d2613ad2 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 22:01:56 +0100 Subject: [PATCH 2/3] Disable JSCPD linter and remove configuration file --- .github/linters/.jscpd.json | 11 ----------- .github/workflows/Linter.yml | 1 + 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 .github/linters/.jscpd.json 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 From 3c980ec8b728ef17a899652ad69f4868c6dfc38f Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 23:05:54 +0100 Subject: [PATCH 3/3] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Update=20GitHub-Script?= =?UTF-8?q?=20to=20v1.7.10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 414fd47..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 }}