Skip to content

Commit 9a44115

Browse files
committed
ci: ghalint
1 parent c7a9c54 commit 9a44115

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.github/workflows/build.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,22 @@ on:
33
workflow_dispatch:
44
schedule:
55
- cron: 0 0 * * 0 # At 00:00 on Sunday.
6+
67
push:
78
branches: ["main"]
89
pull_request:
910
branches: ["main"]
1011

1112
jobs:
1213
build:
14+
permissions:
15+
contents: read
1316
runs-on: windows-latest
1417
timeout-minutes: 15
1518
steps:
1619
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+
with:
21+
persist-credentials: false
1722
- name: Install Modules
1823
shell: pwsh
1924
run: |

.github/workflows/release.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66

77
jobs:
88
release:
9+
permissions:
10+
contents: write
911
runs-on: windows-latest
1012
timeout-minutes: 15
1113
steps:
@@ -14,6 +16,8 @@ jobs:
1416
env:
1517
REF: ${{ github.ref }}
1618
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19+
with:
20+
persist-credentials: false
1721
- run: . ./publish.ps1 -Version $env:GIT_TAG
1822
shell: pwsh
1923
- uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2

0 commit comments

Comments
 (0)