From 1d08a8a1646a0ac98ff07dca71b27b265064f420 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Luis=20Cano=20Rodr=C3=ADguez?= Date: Thu, 22 Oct 2026 12:58:03 +0200 Subject: [PATCH] promote: point at consolidated promote.yml reusable workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit promote-dispatch.yml was consolidated into promote.yml in the workflows repo, but the template and its test still referenced the old name; the generated promote.yaml would fail at workflow resolution on first dispatch. Re-point both. Trailer: Signed-off-by: Juan Luis Cano Rodríguez Assisted-by: OpenRouter:z-ai/glm-5.3-flash pi --- template/.github/workflows/promote.yaml.j2 | 2 +- tests/test_template.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/template/.github/workflows/promote.yaml.j2 b/template/.github/workflows/promote.yaml.j2 index ae437eb..e56c3f5 100644 --- a/template/.github/workflows/promote.yaml.j2 +++ b/template/.github/workflows/promote.yaml.j2 @@ -18,7 +18,7 @@ on: jobs: promote: - uses: obs-plugins-snaps/workflows/.github/workflows/promote-dispatch.yml@main + uses: obs-plugins-snaps/workflows/.github/workflows/promote.yml@main with: plugin_name: "{{ plugin_name }}" revision: {% raw %}"${{ github.event.inputs.revision }}"{% endraw %} diff --git a/tests/test_template.py b/tests/test_template.py index c5ddbff..850d31e 100644 --- a/tests/test_template.py +++ b/tests/test_template.py @@ -268,7 +268,7 @@ def test_promote_workflow_is_dispatchable(copie): promote = workflow["jobs"]["promote"] assert promote["uses"] == ( - "obs-plugins-snaps/workflows/.github/workflows/promote-dispatch.yml@main" + "obs-plugins-snaps/workflows/.github/workflows/promote.yml@main" ) assert promote["with"]["plugin_name"] == "source-record" assert promote["with"]["revision"] == "${{ github.event.inputs.revision }}"