File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed
tooling/xtask/src/tasks/workflows Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 6565 rm -rf ./../.cargo
6666 shell : bash -euxo pipefail {0}
6767concurrency :
68- group : ${{ github.workflow }}-${{ github.ref_name }}-${{ github.ref_name == 'main' && github.sha || 'anysha' }}
68+ group : ${{ github.workflow }}-${{ github.ref_name }}-${{ github.run_id }}
6969 cancel-in-progress : true
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ pub(crate) fn run_unit_evals() -> Workflow {
4141 . add_input ( model_name. name , model_name. input ( ) )
4242 . add_input ( commit_sha. name , commit_sha. input ( ) ) ,
4343 ) )
44- . concurrency ( vars:: one_workflow_per_non_main_branch ( ) )
44+ . concurrency ( vars:: allow_concurrent_runs ( ) )
4545 . add_env ( ( "CARGO_TERM_COLOR" , "always" ) )
4646 . add_env ( ( "CARGO_INCREMENTAL" , 0 ) )
4747 . add_env ( ( "RUST_BACKTRACE" , 1 ) )
Original file line number Diff line number Diff line change @@ -81,6 +81,12 @@ pub(crate) fn one_workflow_per_non_main_branch() -> Concurrency {
8181 . cancel_in_progress ( true )
8282}
8383
84+ pub ( crate ) fn allow_concurrent_runs ( ) -> Concurrency {
85+ Concurrency :: default ( )
86+ . group ( "${{ github.workflow }}-${{ github.ref_name }}-${{ github.run_id }}" )
87+ . cancel_in_progress ( true )
88+ }
89+
8490// Represents a pattern to check for changed files and corresponding output variable
8591pub ( crate ) struct PathCondition {
8692 pub name : & ' static str ,
You can’t perform that action at this time.
0 commit comments