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 }}"