Sitelet https://github.com/OlympusDAO/olympus-v3/commit/0279d278bdc71ee2e8b33ff46ccbf89ad8d651ca
Skip to content

Commit 0279d27

Browse files
committed
ci(workflows): harden remaining permissions
1 parent 2813edd commit 0279d27

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

‎.github/workflows/tests-fork.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- master
66
pull_request:
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
fork-tests:
1013
name: Fork tests - ${{ matrix.shard.name }}
@@ -25,6 +28,8 @@ jobs:
2528
steps:
2629
- name: Checkout
2730
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
31+
with:
32+
persist-credentials: false
2833

2934
- name: Bootstrap
3035
uses: ./.github/actions/bootstrap

‎.github/workflows/validate-emergency-config.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ on:
2020

2121
workflow_dispatch:
2222

23+
permissions:
24+
contents: read
25+
2326
jobs:
2427
validate:
2528
name: Validate Emergency Config

0 commit comments

Comments
 (0)