Skip to content

Commit 24c01d2

Browse files
committed
Add read-only contents permission to workflows
1 parent bf7c497 commit 24c01d2

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/smoke.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
# schedule: # midnight every day
1212
# - cron: '0 0 * * *'
1313
workflow_dispatch:
14+
permissions:
15+
contents: read
1416

1517
jobs:
1618
new-site:

.github/workflows/test.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ on:
1010
# schedule:
1111
# - cron: '11 0 * * *' # 11 past midnight every day
1212
workflow_dispatch:
13-
13+
permissions:
14+
contents: read
15+
1416
jobs:
1517
build:
1618
runs-on: ${{ matrix.os }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "docsy",
3-
"version": "0.14.0-dev+64-g59b78ce",
3+
"version": "0.14.0-dev+65-gbf7c497",
44
"repository": "github:google/docsy",
55
"homepage": "https://www.docsy.dev",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)