Skip to content

Commit f93df08

Browse files
PSModule v5 (#9)
## In this release Bumps the Process-PSModule workflow from v4 to v5, now being possible to "host" all the workflows in a single workflow. This makes you able to move away from the linter.yml and the Nightly-Run.yml, and instead just host everything from the one Process-PSModule.yml workflow. ### Workflow consolidation and scheduling - Updated the reusable workflow version in `.github/workflows/Process-PSModule.yml` from `v4` to `v5` for `PSModule/Process-PSModule/.github/workflows/workflow.yml`, ensuring we use the latest improvements and fixes. - Updated workflow to trigger on both nightly schedule, manual dispatch, and pull requests to `main`, ensuring all use cases are covered in one workflow. - Removed the separate `.github/workflows/Nightly-Run.yml` workflow and merged its nightly schedule and manual trigger into `.github/workflows/Process-PSModule.yml` to streamline job management. - Added `dependencies` and `github-actions` labels to Dependabot updates for GitHub Actions, making it easier to identify and filter these PR, also it will no longer collide with version labels. - Removed the `.github/workflows/Linter.yml` file, which previously ran the Super-Linter on pull requests, likely to reduce redundancy or because linting is now handled in the Process-PSModule. ### QnA - Q: Can I still have the different workflows in my own repo. - A: Yes, you can. You will also soon get settings that will allow you to configure the linter inside the workflow. You can also still bump the version of your nightly runs to v5 and have that on a schedule and manual runs. These do not have to be in a single workflow.
1 parent 06da98a commit f93df08

File tree

5 files changed

+7
-62
lines changed

5 files changed

+7
-62
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,8 @@ version: 2
77
updates:
88
- package-ecosystem: github-actions # See documentation for possible values
99
directory: / # Location of package manifests
10+
labels:
11+
- dependencies
12+
- github-actions
1013
schedule:
1114
interval: weekly

.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: 4 additions & 3 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,6 @@ permissions:
2627

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

0 commit comments

Comments
 (0)