From 85abe322690e33d65e6aa9f45c9cb7f844581ba4 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sat, 4 Oct 2025 19:00:21 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Update=20Dependab?= =?UTF-8?q?ot=20configuration=20and=20remove=20obsolete=20linter=20and=20w?= =?UTF-8?q?orkflow=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/PSModule.yml | 21 +++++++++++++++++ .github/dependabot.yml | 8 ++++++- .github/linters/.jscpd.json | 10 -------- .github/workflows/Linter.yml | 32 -------------------------- .github/workflows/Nightly-Run.yml | 16 ------------- .github/workflows/Process-PSModule.yml | 7 +++--- 6 files changed, 32 insertions(+), 62 deletions(-) create mode 100644 .github/PSModule.yml delete mode 100644 .github/linters/.jscpd.json delete mode 100644 .github/workflows/Linter.yml delete mode 100644 .github/workflows/Nightly-Run.yml diff --git a/.github/PSModule.yml b/.github/PSModule.yml new file mode 100644 index 0000000..908e30b --- /dev/null +++ b/.github/PSModule.yml @@ -0,0 +1,21 @@ +# This file is used to configure the Process-PSModule workflow. +# Reference: +# - https://github.com/PSModule/Process-PSModule?tab=readme-ov-file#configuration + +Test: + CodeCoverage: + PercentTarget: 80 +# TestResults: +# Skip: true +# SourceCode: +# Skip: true +# PSModule: +# Skip: true +# Module: +# Windows: +# Skip: true +# MacOS: +# Skip: true +# Build: +# Docs: +# Skip: true diff --git a/.github/dependabot.yml b/.github/dependabot.yml index d4f33aa..949792b 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,9 +7,15 @@ version: 2 updates: - package-ecosystem: github-actions # See documentation for possible values directory: / # Location of package manifests + labels: + - dependencies + - github-actions schedule: interval: weekly - package-ecosystem: nuget # See documentation for possible values - directory: /PSModule # Location of package manifests + directory: / # Location of package manifests + labels: + - dependencies + - nuget schedule: interval: weekly diff --git a/.github/linters/.jscpd.json b/.github/linters/.jscpd.json deleted file mode 100644 index 23970e8..0000000 --- a/.github/linters/.jscpd.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "threshold": 0, - "reporters": [ - "consoleFull" - ], - "ignore": [ - "**/tests/**" - ], - "absolute": true -} diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml deleted file mode 100644 index 94f34b0..0000000 --- a/.github/workflows/Linter.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Linter - -run-name: "Linter - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" - -on: [pull_request] - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -permissions: - contents: read - packages: read - statuses: write - -jobs: - Lint: - name: Lint code base - runs-on: ubuntu-latest - steps: - - name: Checkout repo - uses: actions/checkout@v5 - with: - fetch-depth: 0 - - - name: Lint code base - uses: super-linter/super-linter@latest - env: - GITHUB_TOKEN: ${{ github.token }} - VALIDATE_JSON_PRETTIER: false - VALIDATE_MARKDOWN_PRETTIER: false - VALIDATE_YAML_PRETTIER: false diff --git a/.github/workflows/Nightly-Run.yml b/.github/workflows/Nightly-Run.yml deleted file mode 100644 index 4e00a49..0000000 --- a/.github/workflows/Nightly-Run.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Nightly Run - -on: - workflow_dispatch: - schedule: - - cron: '0 0 * * *' - -permissions: - contents: read - pull-requests: write - statuses: write - -jobs: - Process-PSModule: - uses: PSModule/Process-PSModule/.github/workflows/CI.yml@v4 - secrets: inherit diff --git a/.github/workflows/Process-PSModule.yml b/.github/workflows/Process-PSModule.yml index 6178750..a2a78ca 100644 --- a/.github/workflows/Process-PSModule.yml +++ b/.github/workflows/Process-PSModule.yml @@ -1,8 +1,9 @@ name: Process-PSModule -run-name: "Process-PSModule - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" - on: + workflow_dispatch: + schedule: + - cron: '0 0 * * *' pull_request: branches: - main @@ -26,5 +27,5 @@ permissions: jobs: Process-PSModule: - uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v4 + uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v5 secrets: inherit From 0976e10e53ce5f1907f3f1b8ca87c31601cbd520 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sat, 4 Oct 2025 19:02:14 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Update=20NuGet=20?= =?UTF-8?q?label=20to=20.NET=20in=20Dependabot=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/dependabot.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 949792b..3f463e6 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -16,6 +16,6 @@ updates: directory: / # Location of package manifests labels: - dependencies - - nuget + - .NET schedule: interval: weekly