Improve extension CI concurrency (#43935)

While this does work for PRs and such, it does not work with main...
Hence, moving the token a few chars to the right to fix this issue.

Release Notes:

- N/A
This commit is contained in:
Finn Evers
2025-12-01 19:29:20 +00:00
committed by GitHub
parent 64b432e4ac
commit bfb876c782
4 changed files with 5 additions and 10 deletions
@@ -31,10 +31,7 @@ pub(crate) fn call_bump_version(
) -> NamedJob<UsesJob> {
let job = Job::default()
.cond(Expression::new(format!(
indoc! {
"(github.event.action == 'labeled' && {} != 'patch') ||
github.event_name == 'push'"
},
"github.event.action != 'labeled' || {} != 'patch'",
bump_type.expr()
)))
.uses(
+1 -1
View File
@@ -88,7 +88,7 @@ pub fn one_workflow_per_non_main_branch_and_token<T: AsRef<str>>(token: T) -> Co
.group(format!(
concat!(
"${{{{ github.workflow }}}}-${{{{ github.ref_name }}}}-",
"${{{{ github.ref_name == 'main' && github.sha || 'anysha{}' }}}}"
"${{{{ github.ref_name == 'main' && github.sha || 'anysha' }}}}{}"
),
token.as_ref()
))