Run quality gate on available Linux runner
This commit is contained in:
@@ -125,7 +125,7 @@ test("Gitea quality gate validates before publishing an immutable ACR manifest",
|
||||
assert.match(workflow, /pull_request:\n\s+paths:/);
|
||||
assert.match(workflow, /push:\n\s+branches: \[staging\]/);
|
||||
assert.match(workflow, /workflow_dispatch:/);
|
||||
assert.match(workflow, /runs-on: xiaoxin/);
|
||||
assert.equal((workflow.match(/runs-on: manman-linux/g) ?? []).length, 2);
|
||||
assert.match(workflow, /GITEA_SHA: \$\{\{ gitea\.sha \}\}/);
|
||||
assert.equal((workflow.match(/git clean -ffdx/g) ?? []).length, 2);
|
||||
assert.equal((workflow.match(/git status --porcelain --untracked-files=all/g) ?? []).length, 2);
|
||||
|
||||
Reference in New Issue
Block a user