Skip to content

Commit bf76de0

Browse files
committed
chore(ci): add top-level permissions: read-all to rust-ci + language-policy
Resolves Hypatia workflow_audit findings (missing_permissions, medium): * rust-ci.yml * language-policy.yml Hardening companion to 1ca4fa0 (SHA pinning). rescript-deno-ci.yml was already addressed by b93e0ea (reusable-workflow wrapper). https://claude.ai/code/session_01MC3HDKEwGgcRwCuUuRmEeP
1 parent b93e0ea commit bf76de0

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+
5+
permissions: read-all
6+
47
jobs:
58
check:
69
runs-on: ubuntu-latest

.github/workflows/rust-ci.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: Rust CI
33
on: [push, pull_request]
4+
5+
permissions: read-all
6+
47
env:
58
CARGO_TERM_COLOR: always
69
RUSTFLAGS: -Dwarnings

0 commit comments

Comments
 (0)