ci: Fix bwrap jobs on run_bundling (#59765)
This fixes an issue where the bwrap bundle jobs were not guarded properly and thus showed up as `cancelled` in the job list for PRs from external contributors, causing the CI to show as failed on a PR (e.g. https://github.com/zed-industries/zed/actions/runs/28028544741/job/82963972185?pr=59758) Release Notes: - N/A
This commit is contained in:
1 parent
41f9a2e434
commit
1e7f1a11f9
2 files changed
+7
-1
No files matched your search
@@ -99,6 +99,9 @@ jobs:
|
||||
if-no-files-found: error
|
||||
timeout-minutes: 60
|
||||
build_static_bwrap_linux_aarch64:
|
||||
if: |-
|
||||
(github.event.action == 'labeled' && github.event.label.name == 'run-bundling') ||
|
||||
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'run-bundling'))
|
||||
runs-on: namespace-profile-8x32-ubuntu-2004-arm-m4
|
||||
steps:
|
||||
- name: steps::cache_nix_dependencies_namespace
|
||||
@@ -130,6 +133,9 @@ jobs:
|
||||
if-no-files-found: error
|
||||
timeout-minutes: 60
|
||||
build_static_bwrap_linux_x86_64:
|
||||
if: |-
|
||||
(github.event.action == 'labeled' && github.event.label.name == 'run-bundling') ||
|
||||
(github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'run-bundling'))
|
||||
runs-on: namespace-profile-32x64-ubuntu-2004
|
||||
steps:
|
||||
- name: steps::cache_nix_dependencies_namespace
|
||||
|
||||
Reference in new issue
Block a user