From 203123b1146c63b5b413530a88bb53c65bd90b0c Mon Sep 17 00:00:00 2001 From: askalf <263217947+askalf@users.noreply.github.com> Date: Sun, 1 Nov 2026 13:39:37 -0500 Subject: [PATCH] redline post: this repository posts its own Redline verdicts from CI --- .github/workflows/redline-post.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/redline-post.yml diff --git a/.github/workflows/redline-post.yml b/.github/workflows/redline-post.yml new file mode 100644 index 0000000..fdaaf02 --- /dev/null +++ b/.github/workflows/redline-post.yml @@ -0,0 +1,24 @@ +# Posts this repository's finished Redline verdicts as sprayberry-redline. A workflow_run job +# runs the default branch's copy of this file, never a pull request's, and the reusable workflow +# runs on GitHub's runners; see scripts/redline/README.md. +name: Redline post + +on: + workflow_run: + workflows: [Redline] + types: [completed] + +# The called workflow's job token reads the run, its artifact, redline.yml and the PR. The post +# itself uses REDLINE_REVIEWER_TOKEN. +permissions: + actions: read + contents: read + pull-requests: read + +jobs: + post: + uses: askalf/ci/.github/workflows/redline-post-verdict.yml@a5e734dd765bbc5a6d5515b781b09e1a762be23d # main 2026-11-01, askalf/ci#148 + with: + redline-ref: a5e734dd765bbc5a6d5515b781b09e1a762be23d + secrets: + reviewer-token: ${{ secrets.REDLINE_REVIEWER_TOKEN }}