Skip to content

Commit 98ec84b

Browse files
committed
Improve CI security
1 parent bc5b964 commit 98ec84b

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/deno.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
name: Deno
2-
32
on:
43
push:
54
tags:
65
- "8.*"
7-
6+
permissions:
7+
contents: read
88
jobs:
99
build:
1010
runs-on: ubuntu-latest

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
branches:
55
- main
66
pull_request:
7+
permissions:
8+
contents: read
79
jobs:
810
full:
911
name: Node.js Latest Full

0 commit comments

Comments
 (0)