Skip to content

Commit a5f85ea

Browse files
authored
ci: declare explicit read-only permissions on reusable workflows (#3243)
1 parent d158089 commit a5f85ea

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

‎.github/workflows/_build_python_wheels.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ on:
4343
description: "Name of the uploaded artifact containing wheels"
4444
value: ${{ jobs.collect.outputs.artifact_name }}
4545

46+
permissions:
47+
contents: read
48+
4649
jobs:
4750
linux:
4851
runs-on: ${{ matrix.runner }}

‎.github/workflows/_build_rust_artifacts.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ on:
5353
description: "Name of the uploaded artifact containing all artifacts"
5454
value: ${{ jobs.collect.outputs.artifact_name }}
5555

56+
permissions:
57+
contents: read
58+
5659
env:
5760
IGGY_CI_BUILD: true
5861

‎.github/workflows/_detect.yml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ on:
5151
description: "Matrix for other components"
5252
value: ${{ jobs.detect.outputs.other_matrix }}
5353

54+
permissions:
55+
contents: read
56+
5457
jobs:
5558
detect:
5659
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)