Skip to content

Commit 766b934

Browse files
committed
Specify explicit contents: read workflow permissions
This resolves a CodeQL check and is also just a good idea. See GitoxideLabs/prodash#36.
1 parent 60d2d4e commit 766b934

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/markdown-links.yml

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
schedule:
77
- cron: '15 0,12 * * *'
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
markdown-link-check:
1114
runs-on: ubuntu-latest

.github/workflows/test.yml

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Test
22

33
on: [push, pull_request]
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
pytest-conda:
710
name: pytest (conda)

0 commit comments

Comments
 (0)