diff --git a/.github/workflows/apple-build-kunit.yml b/.github/workflows/apple-build-kunit.yml index 1666013c1f087..97e2c14b3d072 100644 --- a/.github/workflows/apple-build-kunit.yml +++ b/.github/workflows/apple-build-kunit.yml @@ -111,7 +111,7 @@ env: jobs: apple-build: if: ${{ (github.event_name == 'pull_request_target' && vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]')) || (github.event_name == 'pull_request' && !(vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]'))) || (github.event_name != 'pull_request' && github.event_name != 'pull_request_target') }} - runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && (github.event_name == 'pull_request_target' || (github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')))) && fromJSON('["self-hosted","aurora-buildbox","x64"]') || 'ubuntu-24.04' }} + runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && github.event_name == 'pull_request_target') && fromJSON('["self-hosted","aurora-buildbox","x64"]') || ((vars.AURORA_SELF_HOSTED == 'on' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')) && fromJSON('["self-hosted","aurora-buildbox-main","x64"]') || 'ubuntu-24.04') }} timeout-minutes: 120 steps: - uses: actions/checkout@v4 @@ -180,7 +180,7 @@ jobs: kunit: name: KUnit ${{ matrix.suite }} if: ${{ (github.event_name == 'pull_request_target' && vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]')) || (github.event_name == 'pull_request' && !(vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]'))) || (github.event_name != 'pull_request' && github.event_name != 'pull_request_target') }} - runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && (github.event_name == 'pull_request_target' || (github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')))) && fromJSON('["self-hosted","aurora-buildbox","x64"]') || 'ubuntu-24.04' }} + runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && github.event_name == 'pull_request_target') && fromJSON('["self-hosted","aurora-buildbox","x64"]') || ((vars.AURORA_SELF_HOSTED == 'on' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')) && fromJSON('["self-hosted","aurora-buildbox-main","x64"]') || 'ubuntu-24.04') }} timeout-minutes: 60 strategy: fail-fast: false diff --git a/.github/workflows/apple-drm-kunit.yml b/.github/workflows/apple-drm-kunit.yml index dc5848337032f..788778aee08b9 100644 --- a/.github/workflows/apple-drm-kunit.yml +++ b/.github/workflows/apple-drm-kunit.yml @@ -28,7 +28,7 @@ concurrency: jobs: kunit: if: ${{ (github.event_name == 'pull_request_target' && vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]')) || (github.event_name == 'pull_request' && !(vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]'))) || (github.event_name != 'pull_request' && github.event_name != 'pull_request_target') }} - runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && (github.event_name == 'pull_request_target' || (github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')))) && fromJSON('["self-hosted","aurora-buildbox","x64"]') || 'ubuntu-24.04' }} + runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && github.event_name == 'pull_request_target') && fromJSON('["self-hosted","aurora-buildbox","x64"]') || ((vars.AURORA_SELF_HOSTED == 'on' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')) && fromJSON('["self-hosted","aurora-buildbox-main","x64"]') || 'ubuntu-24.04') }} timeout-minutes: 60 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/apple-macaudio-kunit.yml b/.github/workflows/apple-macaudio-kunit.yml index 47f7237d641df..d651030598820 100644 --- a/.github/workflows/apple-macaudio-kunit.yml +++ b/.github/workflows/apple-macaudio-kunit.yml @@ -30,7 +30,7 @@ concurrency: jobs: kunit: if: ${{ (github.event_name == 'pull_request_target' && vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]')) || (github.event_name == 'pull_request' && !(vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]'))) || (github.event_name != 'pull_request' && github.event_name != 'pull_request_target') }} - runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && (github.event_name == 'pull_request_target' || (github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')))) && fromJSON('["self-hosted","aurora-buildbox","x64"]') || 'ubuntu-24.04' }} + runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && github.event_name == 'pull_request_target') && fromJSON('["self-hosted","aurora-buildbox","x64"]') || ((vars.AURORA_SELF_HOSTED == 'on' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')) && fromJSON('["self-hosted","aurora-buildbox-main","x64"]') || 'ubuntu-24.04') }} timeout-minutes: 45 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/dt-checks.yml b/.github/workflows/dt-checks.yml index 194774a993851..44bf57536c9a3 100644 --- a/.github/workflows/dt-checks.yml +++ b/.github/workflows/dt-checks.yml @@ -45,7 +45,7 @@ env: jobs: dt-checks: if: ${{ (github.event_name == 'pull_request_target' && vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]')) || (github.event_name == 'pull_request' && !(vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]'))) || (github.event_name != 'pull_request' && github.event_name != 'pull_request_target') }} - runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && (github.event_name == 'pull_request_target' || (github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')))) && fromJSON('["self-hosted","aurora-buildbox","x64"]') || 'ubuntu-24.04' }} + runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && github.event_name == 'pull_request_target') && fromJSON('["self-hosted","aurora-buildbox","x64"]') || ((vars.AURORA_SELF_HOSTED == 'on' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')) && fromJSON('["self-hosted","aurora-buildbox-main","x64"]') || 'ubuntu-24.04') }} timeout-minutes: 60 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/host-tests.yml b/.github/workflows/host-tests.yml index 2a73edbf9c3ac..4ccb7179e4f40 100644 --- a/.github/workflows/host-tests.yml +++ b/.github/workflows/host-tests.yml @@ -30,7 +30,7 @@ env: jobs: host-tests: if: ${{ (github.event_name == 'pull_request_target' && vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]')) || (github.event_name == 'pull_request' && !(vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]'))) || (github.event_name != 'pull_request' && github.event_name != 'pull_request_target') }} - runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && (github.event_name == 'pull_request_target' || (github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')))) && fromJSON('["self-hosted","aurora-buildbox","x64"]') || 'ubuntu-24.04' }} + runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && github.event_name == 'pull_request_target') && fromJSON('["self-hosted","aurora-buildbox","x64"]') || ((vars.AURORA_SELF_HOSTED == 'on' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')) && fromJSON('["self-hosted","aurora-buildbox-main","x64"]') || 'ubuntu-24.04') }} timeout-minutes: 20 steps: # Negative controls read older revisions with `git show`, so keep the diff --git a/.github/workflows/mt7932-kunit.yml b/.github/workflows/mt7932-kunit.yml index f6bdf7704188e..aa9900c5152c7 100644 --- a/.github/workflows/mt7932-kunit.yml +++ b/.github/workflows/mt7932-kunit.yml @@ -37,7 +37,7 @@ concurrency: jobs: kunit: if: ${{ (github.event_name == 'pull_request_target' && vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]')) || (github.event_name == 'pull_request' && !(vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]'))) || (github.event_name != 'pull_request' && github.event_name != 'pull_request_target') }} - runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && (github.event_name == 'pull_request_target' || (github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')))) && fromJSON('["self-hosted","aurora-buildbox","x64"]') || 'ubuntu-24.04' }} + runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && github.event_name == 'pull_request_target') && fromJSON('["self-hosted","aurora-buildbox","x64"]') || ((vars.AURORA_SELF_HOSTED == 'on' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')) && fromJSON('["self-hosted","aurora-buildbox-main","x64"]') || 'ubuntu-24.04') }} timeout-minutes: 60 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/pmgr-pwrstate-kunit.yml b/.github/workflows/pmgr-pwrstate-kunit.yml index b94d8e6ceed7e..020a9a5cc943a 100644 --- a/.github/workflows/pmgr-pwrstate-kunit.yml +++ b/.github/workflows/pmgr-pwrstate-kunit.yml @@ -29,7 +29,7 @@ concurrency: jobs: kunit: if: ${{ (github.event_name == 'pull_request_target' && vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]')) || (github.event_name == 'pull_request' && !(vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]'))) || (github.event_name != 'pull_request' && github.event_name != 'pull_request_target') }} - runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && (github.event_name == 'pull_request_target' || (github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')))) && fromJSON('["self-hosted","aurora-buildbox","x64"]') || 'ubuntu-24.04' }} + runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && github.event_name == 'pull_request_target') && fromJSON('["self-hosted","aurora-buildbox","x64"]') || ((vars.AURORA_SELF_HOSTED == 'on' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')) && fromJSON('["self-hosted","aurora-buildbox-main","x64"]') || 'ubuntu-24.04') }} timeout-minutes: 60 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/sep-source.yml b/.github/workflows/sep-source.yml index 3a8f6978a322e..b06aa3809c68f 100644 --- a/.github/workflows/sep-source.yml +++ b/.github/workflows/sep-source.yml @@ -119,7 +119,7 @@ jobs: rust-build: if: ${{ (github.event_name == 'pull_request_target' && vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]')) || (github.event_name == 'pull_request' && !(vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]'))) || (github.event_name != 'pull_request' && github.event_name != 'pull_request_target') }} - runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && (github.event_name == 'pull_request_target' || (github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')))) && fromJSON('["self-hosted","aurora-buildbox","x64"]') || 'ubuntu-24.04' }} + runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && github.event_name == 'pull_request_target') && fromJSON('["self-hosted","aurora-buildbox","x64"]') || ((vars.AURORA_SELF_HOSTED == 'on' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')) && fromJSON('["self-hosted","aurora-buildbox-main","x64"]') || 'ubuntu-24.04') }} timeout-minutes: 45 steps: - uses: actions/checkout@v4 @@ -169,7 +169,7 @@ jobs: kunit: if: ${{ (github.event_name == 'pull_request_target' && vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]')) || (github.event_name == 'pull_request' && !(vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]'))) || (github.event_name != 'pull_request' && github.event_name != 'pull_request_target') }} - runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && (github.event_name == 'pull_request_target' || (github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')))) && fromJSON('["self-hosted","aurora-buildbox","x64"]') || 'ubuntu-24.04' }} + runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && github.event_name == 'pull_request_target') && fromJSON('["self-hosted","aurora-buildbox","x64"]') || ((vars.AURORA_SELF_HOSTED == 'on' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')) && fromJSON('["self-hosted","aurora-buildbox-main","x64"]') || 'ubuntu-24.04') }} timeout-minutes: 60 steps: - uses: actions/checkout@v4 @@ -225,7 +225,7 @@ jobs: dwc3-atc-compile: name: DWC3/ATC ${{ matrix.profile }} if: ${{ (github.event_name == 'pull_request_target' && vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]')) || (github.event_name == 'pull_request' && !(vars.AURORA_SELF_HOSTED == 'on' && github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.actor, '[bot]'))) || (github.event_name != 'pull_request' && github.event_name != 'pull_request_target') }} - runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && (github.event_name == 'pull_request_target' || (github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')))) && fromJSON('["self-hosted","aurora-buildbox","x64"]') || 'ubuntu-24.04' }} + runs-on: ${{ (vars.AURORA_SELF_HOSTED == 'on' && github.event_name == 'pull_request_target') && fromJSON('["self-hosted","aurora-buildbox","x64"]') || ((vars.AURORA_SELF_HOSTED == 'on' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || github.event_name == 'schedule')) && fromJSON('["self-hosted","aurora-buildbox-main","x64"]') || 'ubuntu-24.04') }} timeout-minutes: 30 permissions: contents: read