From 1956fc9394fb90ced2250a3cf4d1feaab4be5c6d Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Thu, 22 Jan 2026 19:18:03 +0100 Subject: [PATCH 1/7] Configure Dependabot for daily schedule with 7-day cooldown --- .github/dependabot.yml | 4 +++- .github/release.yml | 18 ------------------ .github/workflows/Action-Test.yml | 2 +- .github/workflows/Auto-Release.yml | 4 ++-- .github/workflows/Linter.yml | 4 ++-- 5 files changed, 8 insertions(+), 24 deletions(-) delete mode 100644 .github/release.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 53188fe..0da2fac 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,4 +11,6 @@ updates: - dependencies - github-actions schedule: - interval: weekly + interval: daily + cooldown: + default-days: 7 diff --git a/.github/release.yml b/.github/release.yml deleted file mode 100644 index 35c6ae8..0000000 --- a/.github/release.yml +++ /dev/null @@ -1,18 +0,0 @@ -# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes - -changelog: - exclude: - labels: - - NoRelease - categories: - - title: 🌟 Breaking Changes - labels: - - Major - - Breaking - - title: 🚀 New Features - labels: - - Minor - - Feature - - title: Other Changes - labels: - - '*' diff --git a/.github/workflows/Action-Test.yml b/.github/workflows/Action-Test.yml index d26bdf3..fbd2149 100644 --- a/.github/workflows/Action-Test.yml +++ b/.github/workflows/Action-Test.yml @@ -27,7 +27,7 @@ jobs: name: '${{ matrix.os }} - [${{ matrix.version }}]' steps: - name: Checkout repo - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Action-Test uses: ./ diff --git a/.github/workflows/Auto-Release.yml b/.github/workflows/Auto-Release.yml index dad9961..45568fc 100644 --- a/.github/workflows/Auto-Release.yml +++ b/.github/workflows/Auto-Release.yml @@ -26,9 +26,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Auto-Release - uses: PSModule/Auto-Release@v1 + uses: PSModule/Auto-Release@eabd533035e2cb9822160f26f2eda584bd012356 # v1.9.5 env: GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml index 1962629..7ed0fe3 100644 --- a/.github/workflows/Linter.yml +++ b/.github/workflows/Linter.yml @@ -19,12 +19,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 - name: Lint code base - uses: super-linter/super-linter@latest + uses: super-linter/super-linter@d5b0a2ab116623730dd094f15ddc1b6b25bf7b99 # v8.3.2 env: GITHUB_TOKEN: ${{ github.token }} VALIDATE_JSON_PRETTIER: false From ef830ba6f929cec8331c87d5fdb730155e682342 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 21:32:16 +0100 Subject: [PATCH 2/7] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Add=20Release=20w?= =?UTF-8?q?orkflow=20for=20handling=20pull=20request=20events?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../{Auto-Release.yml => Release.yml} | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) rename .github/workflows/{Auto-Release.yml => Release.yml} (61%) diff --git a/.github/workflows/Auto-Release.yml b/.github/workflows/Release.yml similarity index 61% rename from .github/workflows/Auto-Release.yml rename to .github/workflows/Release.yml index 45568fc..d333ca4 100644 --- a/.github/workflows/Auto-Release.yml +++ b/.github/workflows/Release.yml @@ -1,9 +1,9 @@ -name: Auto-Release +name: Release -run-name: "Auto-Release - [${{ 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_target: + pull_request: branches: - main types: @@ -12,23 +12,27 @@ on: - reopened - synchronize - labeled + paths: + - 'action.yml' concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true permissions: - contents: write # Required to create releases - pull-requests: write # Required to create comments on the PRs + contents: write + pull-requests: write jobs: - Auto-Release: + Release: runs-on: ubuntu-latest steps: - name: Checkout Code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false - - name: Auto-Release + - name: Release uses: PSModule/Auto-Release@eabd533035e2cb9822160f26f2eda584bd012356 # v1.9.5 env: GITHUB_TOKEN: ${{ github.token }} From 2ae24e51415c765f917d98e7e0ae153bde005e7d Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 21:45:29 +0100 Subject: [PATCH 3/7] fix: Add persist-credentials: false to checkout actions --- .github/workflows/Action-Test.yml | 2 ++ .github/workflows/Linter.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/Action-Test.yml b/.github/workflows/Action-Test.yml index fbd2149..b0238f2 100644 --- a/.github/workflows/Action-Test.yml +++ b/.github/workflows/Action-Test.yml @@ -28,6 +28,8 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false - name: Action-Test uses: ./ diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml index 7ed0fe3..377763a 100644 --- a/.github/workflows/Linter.yml +++ b/.github/workflows/Linter.yml @@ -22,11 +22,13 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 + persist-credentials: false - name: Lint code base uses: super-linter/super-linter@d5b0a2ab116623730dd094f15ddc1b6b25bf7b99 # v8.3.2 env: GITHUB_TOKEN: ${{ github.token }} + VALIDATE_BIOME_FORMAT: false VALIDATE_JSON_PRETTIER: false VALIDATE_MARKDOWN_PRETTIER: false VALIDATE_YAML_PRETTIER: false From 6a08f67ea2630f0c73bac816fc14d402cc6f9075 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 22:01:17 +0100 Subject: [PATCH 4/7] 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 6100343..0000000 --- a/.github/linters/.jscpd.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "threshold": 0, - "reporters": [ - "consoleFull" - ], - "ignore": [ - "**/tests/**", - "**/action.yml" - ], - "absolute": true -} diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml index 377763a..3a07190 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 93056777a3809158afd5d72a8a60b78bb5f30620 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 22:32:11 +0100 Subject: [PATCH 5/7] Rename Auto-Release to Release-GHRepository --- .github/workflows/Release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index d333ca4..950d2b9 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -33,6 +33,6 @@ jobs: persist-credentials: false - name: Release - uses: PSModule/Auto-Release@eabd533035e2cb9822160f26f2eda584bd012356 # v1.9.5 + uses: PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a # v2 env: GITHUB_TOKEN: ${{ github.token }} From 325a08ac32dad7652b9b6f626e36729506ebbd9e Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 22:44:33 +0100 Subject: [PATCH 6/7] Fix version comment to use patch level --- .github/workflows/Release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 950d2b9..375e5b1 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -33,6 +33,6 @@ jobs: persist-credentials: false - name: Release - uses: PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a # v2 + uses: PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a # v2.0.1 env: GITHUB_TOKEN: ${{ github.token }} From 71d0db5b22e0dc7cf8d6eea15575bdfa8c9b680b Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Tue, 27 Jan 2026 00:24:29 +0100 Subject: [PATCH 7/7] fix: Adjust table formatting in README for better readability --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1d42759..2447d9a 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,8 @@ jobs: ## Inputs -| Input | Required | Default | Description | -| ------- | -------- | ------- | ----------- | +| Input | Required | Default | Description | +| ----- | -------- | ------- | ----------- | | `Version` | `false` | `latest` | Desired PowerShell Core version (e.g. `7.4.1`). Use `latest` to install the newest stable release. | ## Secrets