Skip to content

Commit b96b6fc

Browse files
committed
Update workflow
1 parent 9fb507b commit b96b6fc

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

.github/workflows/publish-powershell-module-psg.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
2-
name: "Publish PowerShell Module - PowerShell Gallery"
2+
name: "PowerShell - Publish - Gallery - Module"
33
on:
44
release:
55
types:
66
- "published"
77
workflow_dispatch:
8-
defaults:
9-
run:
10-
shell: "pwsh"
8+
permissions:
9+
contents: "read"
1110
jobs:
1211
main:
1312
name: "Main"
14-
uses: "hugoalh/hugoalh/.github/workflows/reusable-publish-powershell-module-psg.yml@main"
13+
uses: "hugoalh/hugoalh/.github/workflows/call-powershell-publish-gallery-module-0.yml@main"
1514
with:
1615
path: ".\\hugoalh.GitHubActionsToolkit\\"
1716
secrets:

.github/workflows/scan-virus.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,12 @@ on:
3535
options:
3636
- "False"
3737
- "True"
38+
permissions:
39+
contents: "read"
3840
jobs:
3941
main:
4042
name: "Main"
41-
uses: "hugoalh/hugoalh/.github/workflows/reusable-scan-virus-1.yml@main"
43+
uses: "hugoalh/hugoalh/.github/workflows/call-scan-virus-0.yml@main"
4244
with:
4345
git_integrate: "${{github.event.inputs.git_integrate || 'False'}}"
4446
git_limit: "${{github.event.inputs.git_limit || '0'}}"

.github/workflows/sync-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ permissions:
1313
jobs:
1414
main:
1515
name: "Main"
16-
uses: "hugoalh/hugoalh/.github/workflows/reusable-sync-labels.yml@main"
16+
uses: "hugoalh/hugoalh/.github/workflows/call-sync-labels-0.yml@main"

0 commit comments

Comments
 (0)