Skip to content
Merged
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
1 change: 1 addition & 0 deletions .github/workflows/build_portable_linux_python_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ jobs:
# Note: GitHub-hosted runners run out of disk space for some gpu families
runs-on: ${{ github.repository_owner == 'ROCm' && inputs.build_runs_on || 'ubuntu-24.04' }}
permissions:
contents: read
id-token: write
container:
image: ghcr.io/rocm/therock_build_manylinux_x86_64@sha256:cf4f6d9909056906e4a1c0bc4c245658a0af4c6a6174082a86adfa2d518b7aeb # 2026-08-18
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build_windows_python_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ jobs:
name: Build Python | ${{ inputs.artifact_group }}
runs-on: ${{ github.repository_owner == 'ROCm' && inputs.build_runs_on || 'windows-2022' }}
permissions:
contents: read
id-token: write
outputs:
package_find_links_url: ${{ steps.upload.outputs.package_find_links_url }}
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/multi_arch_build_linux_jax_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,12 @@ run-name: Build Multi-Arch Linux JAX Wheels (${{ inputs.release_type }}, ${{ inp

permissions:
contents: read
id-token: write

jobs:
build_jax_wheels:
permissions:
contents: read
id-token: write # Authenticate to AWS to upload wheels.
name: Build | py ${{ inputs.python_version }} | jax ${{ inputs.jax_ref }}
runs-on: ${{ github.repository_owner == 'ROCm' && 'azure-linux-scale-rocm' || 'ubuntu-24.04' }}
outputs:
Expand Down Expand Up @@ -368,7 +370,6 @@ jobs:
matrix: ${{ fromJSON(needs.configure_jax_tests.outputs.matrix) }}
permissions:
contents: read
id-token: write
uses: ./.github/workflows/test_multi_arch_linux_jax_wheels.yml
secrets: inherit # zizmor: ignore[secrets-inherit]
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/multi_arch_build_linux_jax_wheels_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,12 @@ on:
run-name: Build Multi-Arch Linux JAX Wheels CI (${{ inputs.artifact_group }}, ${{ inputs.rocm_version }}, py${{ inputs.python_version }}, ${{ inputs.jax_ref }})
permissions:
contents: read
id-token: write

jobs:
build_jax_wheels:
permissions:
contents: read
id-token: write # Authenticate to AWS to upload wheels.
name: Build JAX | ${{ inputs.artifact_group }} | jax ${{ inputs.jax_ref }} | py ${{ inputs.python_version }}
runs-on: ${{ github.repository_owner == 'ROCm' && 'azure-linux-scale-rocm' || 'ubuntu-24.04' }}
outputs:
Expand Down Expand Up @@ -322,7 +324,6 @@ jobs:
matrix: ${{ fromJSON(needs.configure_jax_tests.outputs.matrix) }}
permissions:
contents: read
id-token: write
uses: ./.github/workflows/test_multi_arch_linux_jax_wheels.yml
with:
test_amdgpu_family: ${{ inputs.test_amdgpu_family }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/multi_arch_build_native_linux_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,15 @@ on:
value: ${{ jobs.build_native_packages.outputs.package_repository_url }}

permissions:
id-token: write
contents: read

run-name: Build ${{ inputs.native_package_type }} packages (${{ inputs.rocm_version }}, ${{ inputs.dist_amdgpu_families }}${{ inputs.release_type && format(', {0}', inputs.release_type) || '' }})

jobs:
build_native_packages:
permissions:
contents: read
id-token: write # Authenticate to AWS to upload package repositories.
name: Build ${{ inputs.native_package_type }} packages
runs-on: ${{ github.repository_owner == 'ROCm' && inputs.build_runs_on || 'ubuntu-24.04' }}
container:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,14 @@ on:

permissions:
contents: read
id-token: write

run-name: Build Windows MSI packages (${{ inputs.packages }}, ${{ inputs.rocm_version }}${{ inputs.release_type && format(', {0}', inputs.release_type) || '' }})

jobs:
build:
permissions:
contents: read
id-token: write # Authenticate to AWS to upload MSI packages.
name: Build MSI
# The build is short and cheap, so use a GitHub-hosted runner rather than a
# self-hosted scale-set.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/multi_arch_build_tarballs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ jobs:
container:
image: python:3.12-slim
permissions:
contents: read
id-token: write
outputs:
tarball_urls: ${{ steps.upload.outputs.tarball_urls }}
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/multi_arch_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ jobs:
ref: ${{ inputs.ref }}
permissions:
contents: read
id-token: write

test_native_packages_rhel8:
needs: [build_native_rpm_packages]
Expand All @@ -230,7 +229,6 @@ jobs:
ref: ${{ inputs.ref }}
permissions:
contents: read
id-token: write

test_native_packages_rhel10:
needs: [build_native_rpm_packages]
Expand All @@ -248,7 +246,6 @@ jobs:
ref: ${{ inputs.ref }}
permissions:
contents: read
id-token: write

test_native_packages_sles16:
needs: [build_native_rpm_packages]
Expand All @@ -266,7 +263,6 @@ jobs:
ref: ${{ inputs.ref }}
permissions:
contents: read
id-token: write

build_python_packages:
needs: [build_multi_arch_stages]
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/multi_arch_release_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ jobs:
name: Publish to Release Buckets
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
env:
BUILD_RELEASE_TYPE: ${{ inputs.release_type }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/multi_arch_release_windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ jobs:
name: Publish to Release Buckets
runs-on: ubuntu-24.04
permissions:
contents: read
id-token: write
env:
BUILD_RELEASE_TYPE: ${{ inputs.release_type }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test_multi_arch_linux_jax_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ on:
default: ""
permissions:
contents: read
id-token: write

jobs:
test_jax_wheels:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test_native_linux_packages_install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ on:
default: false

permissions:
id-token: write
contents: read

run-name: Test - Native Linux packages Install (${{ inputs.os_profile }})
Expand Down
Loading