From 3432d7e9658744cb2327b3f0cf16a4d72d5427dd Mon Sep 17 00:00:00 2001 From: Angel Campbell <151678097+angeldcampbell@users.noreply.github.com> Date: Tue, 9 Apr 2024 14:25:50 -0700 Subject: [PATCH] rename vars to secrets (#2790) --- .github/workflows/ctc.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ctc.yml b/.github/workflows/ctc.yml index 109cb12176..53f80352e5 100644 --- a/.github/workflows/ctc.yml +++ b/.github/workflows/ctc.yml @@ -18,8 +18,8 @@ jobs: -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "Authorization: Token ${{ secrets.TPS_API_TOKEN_PARAM }}" \ - -d '{"lock": {"sha": "${{ github.sha }}", "component_name": "${{ vars.TPS_API_APP_ID }}"}}' \ - ${{ vars.TPS_API_URL_PARAM }}/api/ctc` + -d '{"lock": {"sha": "${{ github.sha }}", "component_name": "${{ secrets.TPS_API_APP_ID }}"}}' \ + ${{ secrets.TPS_API_URL_PARAM }}/api/ctc` echo "STATUS_CODE=$CODE" >> $GITHUB_ENV echo "Response status code is $CODE." @@ -41,8 +41,8 @@ jobs: -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "Authorization: Token ${{ secrets.TPS_API_TOKEN_PARAM }}" \ - -d '{"lock": {"sha": "${{ github.sha }}", "component_name": "${{ vars.TPS_API_APP_ID }}"}}' \ - ${{ vars.TPS_API_URL_PARAM }}/api/ctc` + -d '{"lock": {"sha": "${{ github.sha }}", "component_name": "${{ secrets.TPS_API_APP_ID }}"}}' \ + ${{ secrets.TPS_API_URL_PARAM }}/api/ctc` echo "Response status code is $CODE" if [ $CODE == "409" ]