Skip to content

Commit 8132c54

Browse files
🩹 [Patch]: Align workflow settings on actions (#20)
## 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 5cec091 commit 8132c54

File tree

5 files changed

+23
-5
lines changed

5 files changed

+23
-5
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/Auto-Release.yml

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

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

2020
permissions:

.github/workflows/Linter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ run-name: "Linter - [${{ github.event.pull_request.title }} #${{ github.event.pu
55
on: [pull_request]
66

77
concurrency:
8-
group: ${{ github.workflow }}
8+
group: ${{ github.workflow }}-${{ github.ref }}
99
cancel-in-progress: true
1010

1111
permissions:
1212
contents: read
1313
packages: read
14-
statuses: write # To report GitHub Actions status checks
14+
statuses: write
1515

1616
jobs:
1717
Lint:

.github/workflows/Workflow-Test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ run-name: "Workflow-Test - [${{ github.event.pull_request.title }} #${{ github.e
55
on: [pull_request]
66

77
concurrency:
8-
group: ${{ github.workflow }}
8+
group: ${{ github.workflow }}-${{ github.ref }}
99
cancel-in-progress: true
1010

1111
permissions:

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ on:
4646
- labeled
4747

4848
concurrency:
49-
group: ${{ github.workflow }}
49+
group: ${{ github.workflow }}-${{ github.ref }}
50+
cancel-in-progress: true
5051

5152
permissions:
5253
contents: write

0 commit comments

Comments
 (0)