Skip to content
This repository was archived by the owner on Oct 12, 2023. It is now read-only.

Commit c7134da

Browse files
authored
ci: restrict permissions for gh workflows (#1428)
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
1 parent 2564f06 commit c7134da

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/codecov.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Codecov
22
on: pull_request
33

4+
permissions: read-all
5+
46
jobs:
57
codecov:
68
runs-on: ubuntu-latest

.github/workflows/gh-pages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- master
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
deploy:
1013
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)