Skip to content

Commit 1a227e5

Browse files
committed
ci: harden hive workflow permissions and action pinning
1 parent 373b51c commit 1a227e5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ jobs:
150150
docker_build:
151151
name: Build Docker
152152
runs-on: ubuntu-latest
153+
permissions:
154+
contents: read
153155
steps:
154156
- uses: actions/checkout@v6
155157

@@ -181,6 +183,8 @@ jobs:
181183
run-hive:
182184
name: Hive - ${{ matrix.name }}
183185
runs-on: ubuntu-latest
186+
permissions:
187+
contents: read
184188
needs: docker_build
185189
strategy:
186190
fail-fast: false
@@ -249,7 +253,7 @@ jobs:
249253
echo "flags=$FLAGS" >> "$GITHUB_OUTPUT"
250254
251255
- name: Run Hive Simulation
252-
uses: ethpandaops/hive-github-action@v0.5.0
256+
uses: ethpandaops/hive-github-action@1aa8d73dad34de13afbb3113ab16c1a462d2fbc3 # v0.5.0
253257
with:
254258
hive_repository: ethereum/hive
255259
hive_version: 6f704d0cd8fb4dfd3f635abcc5a3ea6cd395e61b

0 commit comments

Comments
 (0)