diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..f57e1e9
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,11 @@
+# To get started with Dependabot version updates, you'll need to specify which
+# package ecosystems to update and where the package manifests are located.
+# Please see the documentation for all configuration options:
+# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
+
+version: 2
+updates:
+ - package-ecosystem: github-actions # See documentation for possible values
+ directory: / # Location of package manifests
+ schedule:
+ interval: weekly
diff --git a/.github/workflows/Action-Test.yml b/.github/workflows/Action-Test.yml
index 3936e4e..7af5006 100644
--- a/.github/workflows/Action-Test.yml
+++ b/.github/workflows/Action-Test.yml
@@ -29,7 +29,7 @@ jobs:
steps:
# Need to check out as part of the test, as its a local action
- name: Checkout repo
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
- name: Action-Test
uses: ./
diff --git a/.github/workflows/Auto-Release.yml b/.github/workflows/Auto-Release.yml
index 1a580b8..0fe6aad 100644
--- a/.github/workflows/Auto-Release.yml
+++ b/.github/workflows/Auto-Release.yml
@@ -25,8 +25,8 @@ jobs:
Auto-Release:
runs-on: ubuntu-latest
steps:
- - name: Checkout Code
- uses: actions/checkout@v4
+ - name: Checkout repo
+ uses: actions/checkout@v5
- name: Auto-Release
uses: PSModule/Auto-Release@v1
diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml
index 1f677cb..94f34b0 100644
--- a/.github/workflows/Linter.yml
+++ b/.github/workflows/Linter.yml
@@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v4
+ uses: actions/checkout@v5
with:
fetch-depth: 0
diff --git a/scripts/Helpers.psm1 b/scripts/Helpers.psm1
index 1cde2ff..1f4ae93 100644
--- a/scripts/Helpers.psm1
+++ b/scripts/Helpers.psm1
@@ -12,7 +12,7 @@
If no match is found, the original value is returned unaltered.
.EXAMPLE
- Set-MaskedValue -Value 'github_pat_1234567890123456789012'
+ Set-MaskedValue -Value ''
Output:
```powershell
@@ -22,7 +22,7 @@
Masks a GitHub fine-grained personal access token.
.EXAMPLE
- Set-MaskedValue -Value 'ghp_abcdefghijklmnopqrstuvwxyz0123456789' #gitleaks:allow
+ Set-MaskedValue -Value ''
Output:
```powershell
diff --git a/scripts/main.ps1 b/scripts/main.ps1
index 09bbec6..135c99e 100644
--- a/scripts/main.ps1
+++ b/scripts/main.ps1
@@ -130,6 +130,10 @@ LogGroup 'Host' {
$Host | Select-Object * | Format-List | Out-String
}
+LogGroup 'Host - Json' {
+ $Host | ConvertTo-Json -Depth 3
+}
+
LogGroup 'MyInvocation' {
$MyInvocation | Select-Object * | Format-List | Out-String
}
@@ -145,3 +149,7 @@ LogGroup 'PSSessionOption' {
LogGroup 'PSStyle' {
$PSStyle | Select-Object * | Format-List | Out-String
}
+
+LogGroup 'PSStyle - Json' {
+ $PSStyle | ConvertTo-Json -Depth 3
+}