From ca9dcaea7f01094f6f3d48112a7108661820ba27 Mon Sep 17 00:00:00 2001 From: Jaro-c <75870284+Jaro-c@users.noreply.github.com> Date: Tue, 11 Aug 2026 05:27:37 -0500 Subject: [PATCH] ci: add a thin ci.yml caller for the empty-diff reusable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pinned to the SHA that is the v1.14.0 tag of this repository. The check is advisory only: it runs on every pull request and emits a red status if the diff against main is empty, but the ruleset does not require it. This repository is the fourth and final consumer to adopt the gate that catches no-op PRs — the same shape that bit Glyndor/homebrew-tap and Glyndor/scoop-bucket before the reusable existed in #111. Proven on Glyndor/apt#89, Glyndor/homebrew-tap#54 and Glyndor/scoop-bucket#46 (pinned at the same SHA, ran green) before the v1.14.0 tag was cut. Once the emitted check name has stayed stable across a few weeks of green here and across the other consumers, I will promote it to a required status check in each repository's ruleset. Signed-off-by: Jaro-c <75870284+Jaro-c@users.noreply.github.com> --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..3d762fa --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,22 @@ +name: CI + +# Thin caller: this repository carries no product code, so the only CI it +# runs against itself is the new-reusable gate that catches no-op PRs +# (squash-merge hiding the second `-v2` landing as a commit with zero files +# changed). Proven on Glyndor/apt#89 and Glyndor/homebrew-tap#54 before the +# v1.14.0 tag of Glyndor/.github was cut. The reusable's emitted check name +# is `empty-diff / empty diff`; it is advisory here too, not required in any +# ruleset, until a few weeks of green across the four consumers confirms the +# name has stabilised. + +on: + pull_request: + push: + branches: [main] + +permissions: + contents: read + +jobs: + empty-diff: + uses: Glyndor/.github/.github/workflows/empty-diff.yml@7eb2c699bed5e49b7974ff9b0e613712d5da88cb # v1.14.0 \ No newline at end of file