Skip to content

Commit 0a020ba

Browse files
authored
apply zizmor recs (#133)
1 parent 69f75a5 commit 0a020ba

File tree

6 files changed

+19
-0
lines changed

6 files changed

+19
-0
lines changed

.github/workflows/dotnet-format.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,13 @@ on:
1515
jobs:
1616
check-format:
1717
runs-on: windows-latest
18+
permissions: {}
1819

1920
steps:
2021
- name: check out code
2122
uses: actions/checkout@v4
23+
with:
24+
persist-credentials: false
2225

2326
- name: Install format tool
2427
run: dotnet tool install -g dotnet-format

.github/workflows/markdown-link-check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ on:
1313
jobs:
1414
build:
1515
runs-on: ubuntu-latest
16+
permissions: {}
1617

1718
steps:
1819
- name: check out code
1920
uses: actions/checkout@v4
21+
with:
22+
persist-credentials: false
2023

2124
- name: install markdown-link-check
2225
run: sudo npm install -g markdown-link-check

.github/workflows/markdownlint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,13 @@ on:
1313
jobs:
1414
build:
1515
runs-on: ubuntu-latest
16+
permissions: {}
1617

1718
steps:
1819
- name: check out code
1920
uses: actions/checkout@v4
21+
with:
22+
persist-credentials: false
2023

2124
- name: install markdownlint-cli
2225
run: sudo npm install -g markdownlint-cli

.github/workflows/misspell.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,13 @@ on:
99
jobs:
1010
misspell:
1111
runs-on: ubuntu-latest
12+
permissions: {}
1213

1314
steps:
1415
- name: check out code
1516
uses: actions/checkout@v4
17+
with:
18+
persist-credentials: false
1619

1720
- name: install misspell
1821
run: |

.github/workflows/oats.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,19 @@ on:
99
jobs:
1010
acceptance-tests:
1111
runs-on: ubuntu-latest
12+
permissions: {}
13+
1214
steps:
1315
- name: Check out
1416
uses: actions/checkout@v4
17+
with:
18+
persist-credentials: false
1519
- name: Check out oats
1620
uses: actions/checkout@v4
1721
with:
1822
repository: grafana/oats
1923
path: oats
24+
persist-credentials: false
2025
- name: Set up Go
2126
uses: actions/setup-go@v5
2227
with:

.github/workflows/unit-tests.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ jobs:
2020
exclude:
2121
- os: ubuntu-latest
2222
version: net462
23+
permissions: {}
2324

2425
runs-on: ${{ matrix.os }}
2526
steps:
2627
- uses: actions/checkout@v4
2728
with:
2829
fetch-depth: 0 # fetching all
30+
persist-credentials: false
2931

3032
- name: Setup dotnet
3133
uses: actions/setup-dotnet@v3

0 commit comments

Comments
 (0)