Push auto-release tags as renovate-bot so release.yml fires, and give the Docker Hub page its short description
CI / full-gate (push) Successful in 3m20s
CI / full-gate (push) Successful in 3m20s
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import assert from "node:assert/strict";
|
||||
import { readFileSync } from "node:fs";
|
||||
import { test } from "node:test";
|
||||
|
||||
test("auto-release's checkout persists no credentials, so the tag push authenticates as renovate-bot", () => {
|
||||
const workflow = readFileSync(".gitea/workflows/renovate.yml", "utf8");
|
||||
const job = workflow.slice(workflow.indexOf("\n auto-release:"));
|
||||
const checkout = job.slice(job.indexOf("actions/checkout@"), job.indexOf("\n - name:"));
|
||||
assert.match(checkout, /^\s+persist-credentials: false$/m);
|
||||
});
|
||||
Reference in New Issue
Block a user