Skip to content
Open
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
3 changes: 3 additions & 0 deletions .github/workflows/actions-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
paths:
- '.github/actions/upload-artifact-s3/**'

permissions:
contents: read

jobs:
build:
name: Build
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/bc-linter-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ defaults:
run:
working-directory: tools/stronghold/

permissions:
contents: read

jobs:
bc-linter-tests:
name: BC-Linter Tests
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/checkout-licensed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
paths:
- '.github/actions/checkout/**'

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/checkout-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ on:
# these refer to "test-data" branches on this actions/checkout repo.
# (For example, test-data/v2/basic -> https://github.com/actions/checkout/tree/test-data/v2/basic)

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/cross-repo-ci-relay-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ defaults:
run:
working-directory: aws/lambda/cross_repo_ci_relay/

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-22.04
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lambda-runner-binaries-syncer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- .github/workflows/lambda-runner-binaries-syncer.yml
- "terraform-aws-github-runner/modules/runner-binaries-syncer/lambdas/runner-binaries-syncer/**"

permissions:
contents: read

jobs:
build:
name: "Run tests for runner binaries syncer lambda"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lambda-runners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- .github/workflows/lambda-runners.yml
- "terraform-aws-github-runner/modules/runners/lambdas/runners/**"

permissions:
contents: read

jobs:
build:
name: "Run tests for runners lambda"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lambda-webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- .github/workflows/lambda-webhook.yml
- "terraform-aws-github-runner/modules/webhook/lambdas/webhook/**"

permissions:
contents: read

jobs:
build:
name: "Run tests for webhook lambda"
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}
cancel-in-progress: true

permissions:
contents: read

jobs:
lintrunner:
name: lintrunner
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/scale_config_validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
- .github/scale-config.yml
- .github/scripts/validate_scale_config.py

permissions:
contents: read

jobs:
scale-config-validation:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-binary-size-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- tools/binary_size_validation/binary_size_validation.py
workflow_dispatch:

permissions:
contents: read

jobs:
test-binary-size-validation:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-export-matrix-variables.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- .github/workflows/test-export-matrix-variables.yml
- .github/actions/export-matrix-variables/*

permissions:
contents: read

jobs:
test-linux:
uses: ./.github/workflows/linux_job_v2.yml
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-setup-miniconda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- .github/actions/check-disk-space/*
- .github/actions/setup-miniconda/*

permissions:
contents: read

jobs:
test:
strategy:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-setup-nvidia.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- .github/actions/setup-nvidia/action.yml
workflow_dispatch:

permissions:
contents: read

jobs:
test:
strategy:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-setup-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- .github/actions/setup-python/*
- .github/workflows/test-setup-python.yml

permissions:
contents: read

jobs:
setup-python-job:
runs-on: macos-m1-stable
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-setup-uv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- .github/actions/setup-uv/action.yml
workflow_dispatch:

permissions:
contents: read

jobs:
test:
strategy:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-validate-domain-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- .github/workflows/test-validate-domain-library.yml
workflow_dispatch:

permissions:
contents: read

jobs:
test-validate-domain-library:
uses: ./.github/workflows/validate-domain-library.yml
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test_linux_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
- .github/scripts/run_with_env_secrets.py
workflow_dispatch:

permissions:
contents: read

jobs:
test-secrets-no-filter-var:
uses: ./.github/workflows/linux_job.yml
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test_macos_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- .github/scripts/run_with_env_secrets.py
workflow_dispatch:

permissions:
contents: read

jobs:
test-m1:
uses: ./.github/workflows/macos_job.yml
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test_windows_job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
- .github/workflows/test_windows_job.yml
workflow_dispatch:

permissions:
contents: read

jobs:
test-cpu:
uses: ./.github/workflows/windows_job.yml
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
branches:
- main

permissions:
contents: read

jobs:
test-tools:
name: Test tools
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/torchci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
branches:
- main

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-24.04
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/trigger_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ on:
- torchcomms
- torchforge
- all

permissions:
contents: read

jobs:
trigger:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/trigger_nightly_core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- cron: 30 7 * * *
workflow_dispatch:

permissions:
contents: read

jobs:
trigger:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/validate-pypi-wheel-binary-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ on:
# At 2:30 pm UTC (7:30 am PDT)
- cron: "30 14 * * *"

permissions:
contents: read

jobs:
pypi-binary-size-validation:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/validate-repackaged-binary-sizes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ on:
- .github/workflows/validate-repackaged-binary-sizes.yml
- release/pypi/prep_binary_for_pypi.sh

permissions:
contents: read

jobs:
generate-linux-matrix:
uses: ./.github/workflows/generate_binary_build_matrix.yml
Expand Down