Skip to content

Commit d999aa1

Browse files
committed
ci: fix ghalint
1 parent e5b4204 commit d999aa1

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ on:
1111

1212
jobs:
1313
build-dotnet:
14-
runs-on: ubuntu-latest
14+
permissions:
15+
contents: read
16+
runs-on: ubuntu-24.04
1517
timeout-minutes: 10
1618
steps:
17-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19+
- uses: Cysharp/Actions/.github/actions/checkout@main
1820
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
1921
with:
2022
dotnet-version: |
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,12 @@ on:
1414

1515
jobs:
1616
build-dotnet:
17-
runs-on: ubuntu-latest
17+
permissions:
18+
contents: read
19+
runs-on: ubuntu-24.04
1820
timeout-minutes: 10
1921
steps:
20-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+
- uses: Cysharp/Actions/.github/actions/checkout@main
2123
- uses: Cysharp/Actions/.github/actions/setup-dotnet@main
2224
with:
2325
dotnet-version: |
@@ -37,6 +39,8 @@ jobs:
3739
# release
3840
create-release:
3941
needs: [build-dotnet]
42+
permissions:
43+
contents: write
4044
uses: Cysharp/Actions/.github/workflows/create-release.yaml@main
4145
with:
4246
commit-id: ''
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@ on:
77

88
jobs:
99
stale:
10+
permissions:
11+
contents: read
12+
pull-requests: write
13+
issues: write
1014
uses: Cysharp/Actions/.github/workflows/stale-issue.yaml@main

0 commit comments

Comments
 (0)