Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/client-versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
workflow_dispatch:
workflow_call:

# Least-privilege default: this report only reads the repo to census notebooks.
permissions:
contents: read

jobs:
analyze-client-versions:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
branches:
- main

# Least-privilege default: lint and notebook tests only read the repo.
permissions:
contents: read

jobs:
lint:
uses: './.github/workflows/lint.yaml'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-notebooks-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
default: 'docs'
type: string

# Least-privilege default: notebook validation and execution only read the repo.
permissions:
contents: read

jobs:
validate-notebooks:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test-notebooks-changed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
type: string
default: 'main'

# Least-privilege default: change detection and notebook execution only read the repo.
permissions:
contents: read

jobs:
validate-notebooks:
runs-on: ubuntu-latest
Expand Down
Loading