From fc89591405aff15f5a22388d99d45d76b11db4fc Mon Sep 17 00:00:00 2001 From: Josh W Lewis Date: Fri, 25 Oct 2024 10:42:58 -0500 Subject: [PATCH] Use ref_name for ctc check as well --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e7f4daf..da8d1ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -209,7 +209,7 @@ jobs: -H "ACCEPT: application/json" \ -H "Content-Type: application/json" \ -H "Authorization: Token ${{ secrets.TPS_TOKEN }}" \ - -d '{"lock": {"sha": "${{ github.sha }}", "component_name": "${{ vars.tps_component }}"}}' \ + -d '{"lock": {"sha": "${{ github.ref_name }}", "component_name": "${{ vars.tps_component }}"}}' \ "${{ secrets.TPS_CTC_API_URL }}" promote-tags: