Skip to content

Commit 7898774

Browse files
🩹[Patch]: Update dependabot schedule and pin workflow to SHA (#14)
Dependabot now checks for updates daily with a 7-day cooldown period, reducing noise while maintaining timely security updates. The Process-PSModule workflow is pinned to a specific commit SHA with version comment for enhanced security and reproducibility. ## Dependabot Configuration Updated the schedule from `weekly` to `daily` with a `cooldown` of 7 days. This means Dependabot will check for updates daily but will wait 7 days after a new version is released before creating a PR, helping to avoid early adoption of potentially unstable releases. ```yaml schedule: interval: daily cooldown: default-days: 7 ``` ## Pinned Workflows The reusable workflow is now pinned to a specific commit SHA with version tag comment for traceability: | Workflow | Version | Commit SHA | |----------|---------|------------| | `PSModule/Process-PSModule` | v5.4.1 | `be7d5dcbceec14855d325fdd34f2a7c2f05a7f57` |
1 parent 879ff6d commit 7898774

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎.github/dependabot.yml‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: github-actions # See documentation for possible values
9-
directory: / # Location of package manifests
8+
- package-ecosystem: github-actions
9+
directory: /
1010
labels:
1111
- dependencies
1212
- github-actions
1313
schedule:
14-
interval: weekly
14+
interval: daily
15+
cooldown:
16+
default-days: 7

‎.github/workflows/Process-PSModule.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,6 @@ permissions:
2727

2828
jobs:
2929
Process-PSModule:
30-
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v5
30+
uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@be7d5dcbceec14855d325fdd34f2a7c2f05a7f57 # v5.4.1
3131
secrets:
3232
APIKEY: ${{ secrets.APIKEY }}

0 commit comments

Comments
 (0)