Skip to content

Commit 613e59c

Browse files
🩹 [Patch]: Align workflow settings on actions (#42)
## 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
1 parent 98d91f8 commit 613e59c

File tree

4 files changed

+28
-2
lines changed

4 files changed

+28
-2
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#Documentation: https://github.com/PowerShell/PSScriptAnalyzer/blob/master/docs/Cmdlets/Invoke-ScriptAnalyzer.md#-settings
2+
@{
3+
#CustomRulePath='path\to\CustomRuleModule.psm1'
4+
#RecurseCustomRulePath='path\of\customrules'
5+
#Severity = @(
6+
# 'Error'
7+
# 'Warning'
8+
#)
9+
#IncludeDefaultRules=${true}
10+
ExcludeRules = @(
11+
'PSAvoidUsingWriteHost'
12+
)
13+
#IncludeRules = @(
14+
# 'PSAvoidUsingWriteHost',
15+
# 'MyCustomRuleName'
16+
#)
17+
}

.github/workflows/Action-Test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on: [pull_request]
77
env:
88
GH_TOKEN: ${{ github.token }}
99

10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
1014
permissions: {}
1115

1216
jobs:

.github/workflows/Auto-Release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ on:
1414
- labeled
1515

1616
concurrency:
17-
group: ${{ github.workflow }}
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
1819

1920
permissions:
2021
contents: write

.github/workflows/Linter.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@ run-name: "Linter - [${{ github.event.pull_request.title }} #${{ github.event.pu
44

55
on: [pull_request]
66

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
711
permissions:
812
contents: read
913
packages: read
10-
statuses: write # To report GitHub Actions status checks
14+
statuses: write
1115

1216
jobs:
1317
Lint:

0 commit comments

Comments
 (0)