From 572928e39f5caea298c5e0c5e1e64f80b4c684b2 Mon Sep 17 00:00:00 2001 From: Yi-Cheng Teng - NOAA GFDL <143743249+yichengt900@users.noreply.github.com> Date: Wed, 10 Jan 2024 22:58:19 -0500 Subject: [PATCH] Update NWA12_RT.yaml --- .github/workflows/NWA12_RT.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/NWA12_RT.yaml b/.github/workflows/NWA12_RT.yaml index ee0f8df..62ae3eb 100644 --- a/.github/workflows/NWA12_RT.yaml +++ b/.github/workflows/NWA12_RT.yaml @@ -22,7 +22,7 @@ jobs: runs-on: self-hosted env: - GITHUB_TOKEN: ${{ secrets.CEFI_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} PR_NUMBER: ${{ github.event.number }} # Steps represent a sequence of tasks that will be executed as part of the job @@ -47,15 +47,15 @@ jobs: echo "https://api.github.com/repos/$GITHUB_REPOSITORY/issues/$PR_NUMBER/labels/$RT_TEST_LABEL" # Remove the "NWA12_RT_gaea_c5" label - #curl -X DELETE \ - # -H "Authorization: Bearer $TOKEN" \ - # -H "Accept: application/vnd.github.v3+json" \ - # "https://api.github.com/repos/$GITHUB_REPOSITORY/issues/$PR_NUMBER/labels/$RT_TEST_LABEL" - curl -L \ - -X DELETE \ - -H "Accept: application/vnd.github+json" \ + curl -X DELETE \ -H "Authorization: Bearer $TOKEN" \ - -H "X-GitHub-Api-Version: 2022-11-28" \ - https://api.github.com/repos/$GITHUB_REPOSITORY/issues/$PR_NUMBER/labels/$RT_TEST_LABEL + -H "Accept: application/vnd.github.v3+json" \ + "https://api.github.com/repos/$GITHUB_REPOSITORY/issues/$PR_NUMBER/labels/$RT_TEST_LABEL" + #curl -L \ + # -X DELETE \ + # -H "Accept: application/vnd.github+json" \ + # -H "Authorization: Bearer $TOKEN" \ + # -H "X-GitHub-Api-Version: 2022-11-28" \ + # https://api.github.com/repos/$GITHUB_REPOSITORY/issues/$PR_NUMBER/labels/$RT_TEST_LABEL