Skip to content

Commit 996a755

Browse files
Refactor GitHub workflows: remove obsolete linter and nightly run configurations, update Process-PSModule workflow to use v5 and inherit secrets.
1 parent bf2dc3e commit 996a755

5 files changed

Lines changed: 19 additions & 64 deletions

File tree

.github/PSModule.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,17 @@
55
Test:
66
CodeCoverage:
77
PercentTarget: 0
8+
# TestResults:
9+
# Skip: true
10+
# SourceCode:
11+
# Skip: true
12+
# PSModule:
13+
# Skip: true
14+
# Module:
15+
# Windows:
16+
# Skip: true
17+
# MacOS:
18+
# Skip: true
19+
# Build:
20+
# Docs:
21+
# Skip: true

.github/linters/.jscpd.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

.github/workflows/Linter.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/Nightly-Run.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/Process-PSModule.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: Process-PSModule
22

3-
run-name: "Process-PSModule - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}"
4-
53
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 0 * * *'
67
pull_request:
78
branches:
89
- main
@@ -26,6 +27,5 @@ permissions:
2627

2728
jobs:
2829
Process-PSModule:
29-
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v4
30-
secrets:
31-
APIKEY: ${{ secrets.APIKEY }}
30+
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v5
31+
secrets: inherit

0 commit comments

Comments
 (0)