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 f57e1e9..53188fe 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,5 +7,8 @@ version: 2 updates: - package-ecosystem: github-actions # See documentation for possible values directory: / # Location of package manifests + labels: + - dependencies + - github-actions 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