From 3a184ed414df5e97a6fe8dbc9ce2463cf51e2292 Mon Sep 17 00:00:00 2001 From: Mike Plante <82073483+MikePlante1@users.noreply.github.com> Date: Mon, 13 May 2024 14:42:00 -0400 Subject: [PATCH] update alive to dev (2) --- .github/workflows/build_trio.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_trio.yml b/.github/workflows/build_trio.yml index 416c98e82..4e7ff3814 100644 --- a/.github/workflows/build_trio.yml +++ b/.github/workflows/build_trio.yml @@ -69,7 +69,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GH_PAT }} run: | - # get ref for nightscout/Trio:main + # get ref for nightscout/Trio:dev response=$(curl --request GET \ --url "https://api.github.com/repos/${{ env.UPSTREAM_REPO }}/git/refs/heads/dev" \ --header "Authorization: Bearer $GITHUB_TOKEN" \ @@ -77,12 +77,12 @@ jobs: echo "API Response: $response" SHA=$(echo "$response" | jq -r '.object.sha') if [ "$SHA" = "null" ]; then - echo "Error: Unable to retrieve SHA for the main branch." + echo "Error: Unable to retrieve SHA for the dev branch." exit 1 fi - echo "SHA of main branch: $SHA"; + echo "SHA of dev branch: $SHA"; - # Create alive branch based on nightscout/Trio:main + # Create alive branch based on nightscout/Trio:dev gh api \ --method POST \ -H "Authorization: token $GITHUB_TOKEN" \