Skip to content

Commit e568fec

Browse files
committed
Update workflow
1 parent 6006a88 commit e568fec

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

.github/workflows/announce-new-release-discord.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on:
44
release:
55
types:
66
- "published"
7-
permissions: {}
87
jobs:
98
main:
109
name: "Main"
10+
permissions: {}
1111
runs-on: "ubuntu-latest"
1212
steps:
1313
- name: "Send Discord Webhook"
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
2-
name: "PowerShell - Publish - Gallery - Module"
2+
name: "Publish PowerShell Gallery Module"
33
on:
44
release:
55
types:
66
- "published"
77
workflow_dispatch:
8-
permissions:
9-
contents: "write"
108
jobs:
119
main:
1210
name: "Main"
13-
uses: "hugoalh/hugoalh/.github/workflows/call-powershell-publish-gallery-module-0.yml@main"
11+
permissions:
12+
contents: "write"
13+
uses: "hugoalh/hugoalh/.github/workflows/call-publish-powershell-gallery-module-0.yml@main"
1414
with:
15-
builder: "_build-package.ps1"
15+
build: "_build-package.ps1"
1616
path: ".\\hugoalh.GitHubActionsToolkit\\"
1717
secrets:
1818
POWERSHELLGALLERY_TOKEN: "${{secrets.POWERSHELLGALLERY_TOKEN}}"

.github/workflows/scan-virus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ on:
3535
options:
3636
- "False"
3737
- "True"
38-
permissions:
39-
contents: "read"
4038
jobs:
4139
main:
4240
name: "Main"
41+
permissions:
42+
contents: "read"
4343
uses: "hugoalh/hugoalh/.github/workflows/call-scan-virus-0.yml@main"
4444
with:
4545
git_integrate: "${{github.event.inputs.git_integrate || 'False'}}"

.github/workflows/sync-labels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ on:
77
paths:
88
- ".github/labels.yml"
99
workflow_dispatch:
10-
permissions:
11-
contents: "read"
12-
issues: "write"
13-
pull-requests: "write"
1410
jobs:
1511
main:
1612
name: "Main"
13+
permissions:
14+
contents: "read"
15+
issues: "write"
16+
pull-requests: "write"
1717
uses: "hugoalh/hugoalh/.github/workflows/call-sync-labels-0.yml@main"

0 commit comments

Comments
 (0)