Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/Action-Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ./
4 changes: 2 additions & 2 deletions .github/workflows/Auto-Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions scripts/Helpers.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -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 '<a token starting with github_pat_>'

Output:
```powershell
Expand All @@ -22,7 +22,7 @@
Masks a GitHub fine-grained personal access token.

.EXAMPLE
Set-MaskedValue -Value 'ghp_abcdefghijklmnopqrstuvwxyz0123456789' #gitleaks:allow
Set-MaskedValue -Value '<a token starting with ghp_>'

Output:
```powershell
Expand Down
8 changes: 8 additions & 0 deletions scripts/main.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand All @@ -145,3 +149,7 @@ LogGroup 'PSSessionOption' {
LogGroup 'PSStyle' {
$PSStyle | Select-Object * | Format-List | Out-String
}

LogGroup 'PSStyle - Json' {
$PSStyle | ConvertTo-Json -Depth 3
}
Loading