Skip to content

Commit b6f8e0b

Browse files
committed
Fix indentation for permissions in workflow file
Fix the top level permissions block for the job.
1 parent 82d21dc commit b6f8e0b

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ on:
88
# minute hour day month day-of-week
99
# Run at 12:25 UTC every day
1010
- cron: '25 12 * * *'
11-
permissions:
12-
contents: read
11+
12+
permissions:
13+
contents: read
1314

1415
jobs:
1516
build:

.github/workflows/pre-commit-check.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ on:
88
push:
99
branches:
1010
- main
11-
permissions:
12-
contents: read
11+
12+
permissions:
13+
contents: read
1314

1415
jobs:
1516
pre-commit:

0 commit comments

Comments
 (0)