Skip to content

Commit

Permalink
馃┕ [Patch]: Align workflow settings on actions (#59)
Browse files Browse the repository at this point in the history
## Description

- 馃┕ [Patch]: Align workflow settings on actions

## Type of change

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [ ] 馃摉 [Docs]
- [ ] 馃 [Fix]
- [x] 馃┕ [Patch]
- [ ] 鈿狅笍 [Security fix]
- [ ] 馃殌 [Feature]
- [ ] 馃専 [Breaking change]

## Checklist

<!-- Use the check-boxes [x] on the options that are relevant. -->

- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
  • Loading branch information
MariusStorhaug committed Mar 28, 2024
1 parent 3be3223 commit eb86ce0
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .github/linters/.powershell-psscriptanalyzer.psd1
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#Documentation: https://github.com/PowerShell/PSScriptAnalyzer/blob/master/docs/Cmdlets/Invoke-ScriptAnalyzer.md#-settings
@{
#CustomRulePath='path\to\CustomRuleModule.psm1'
#RecurseCustomRulePath='path\of\customrules'
#Severity = @(
# 'Error'
# 'Warning'
#)
#IncludeDefaultRules=${true}
ExcludeRules = @(
'PSAvoidUsingWriteHost'
)
#IncludeRules = @(
# 'PSAvoidUsingWriteHost',
# 'MyCustomRuleName'
#)
}
8 changes: 8 additions & 0 deletions .github/workflows/Action-Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ run-name: "Action-Test - [${{ github.event.pull_request.title }} #${{ github.eve

on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
pull-requests: read

jobs:
ActionTestDefault:
name: Action-Test - [Default]
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/Auto-Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ on:
- labeled

concurrency:
group: ${{ github.workflow }}
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: write
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/Linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ run-name: "Linter - [${{ github.event.pull_request.title }} #${{ github.event.pu

on: [pull_request]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
packages: read
statuses: write

jobs:
Lint:
name: Lint code base
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ on:
- labeled

concurrency:
group: ${{ github.workflow }}
group: ${{ github.workflow }}-${{ github.ref }}

jobs:
Auto-Release:
Expand Down

0 comments on commit eb86ce0

Please sign in to comment.