Skip to content

Commit 0a7832a

Browse files
stepsecurity-app[bot]tmctlhgraphql
authored
chore: [StepSecurity] Apply security best practices (#545)
Co-authored-by: stepsecurity-app[bot] <188008098+stepsecurity-app[bot]@users.noreply.github.com> Co-authored-by: Tyler McDonald <tyler@hgraph.io> Co-authored-by: Tyler <tyler+hgraphql@hgraph.io>
1 parent cf4c7e1 commit 0a7832a

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/publish-canary.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- canary
77
- introduce-v2
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
publish-canary:
1114
name: Publish Canary

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
release:
44
types:
55
- published
6+
permissions:
7+
contents: read
8+
69
jobs:
710
publish:
811
name: publish

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request:
55
push:
66
branches: [main]
7+
permissions:
8+
contents: read
9+
710
jobs:
811
test-node:
912
name: Unit Tests

0 commit comments

Comments
 (0)