Skip to content

Commit 61da7b7

Browse files
committed
ci(sweep): workflow permissions
- Add top-level `permissions: contents: read` to workflows flagged by governance-reusable's Workflow security linter.
1 parent de83376 commit 61da7b7

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/language-policy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# SPDX-License-Identifier: MPL-2.0-or-later
22
name: Language Policy Enforcement
33
on: [push, pull_request]
4+
permissions:
5+
contents: read
6+
47
jobs:
58
check:
69
runs-on: ubuntu-latest

.github/workflows/rescript-deno-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
name: ReScript/Deno CI
33
on: [push, pull_request]
44

5+
permissions:
6+
contents: read
7+
58
jobs:
69
build:
710
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)