Skip to content

Commit be1e076

Browse files
committed
workflows: Restrict GitHub permissions.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
1 parent 8cc798c commit be1e076

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/zulip-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ name: Zulip server CI
77

88
on: [push, pull_request]
99

10+
permissions:
11+
contents: read
12+
1013
defaults:
1114
run:
1215
shell: bash

.github/workflows/zulip-tests.yml

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

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
static-analysis:
1114
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)