From f85de12d1e0fce06d60de5efad3f9830bd3d9569 Mon Sep 17 00:00:00 2001 From: Yi-Cheng Teng - NOAA GFDL <143743249+yichengt900@users.noreply.github.com> Date: Wed, 10 Jan 2024 23:33:00 -0500 Subject: [PATCH] Update NWA12_RT.yaml --- .github/workflows/NWA12_RT.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/NWA12_RT.yaml b/.github/workflows/NWA12_RT.yaml index 3872e25..cc87928 100644 --- a/.github/workflows/NWA12_RT.yaml +++ b/.github/workflows/NWA12_RT.yaml @@ -26,13 +26,6 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: - - - name: Generate a token - id: generate_token - uses: actions/create-github-app-token@v1 - with: - app-id: yichengt900 - private-key: ${{ secrets.GITHUB_TOKEN }} # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - name: Checkout Repository @@ -48,7 +41,7 @@ jobs: - name: Add "pass_NWA12_RT" label on success if: success() && contains(github.event.label.name, 'NWA12_RT_gaea_c5') run: | - TOKEN=${{ steps.generate_token.outputs.token }} + TOKEN=${{ secrets..GITHUB_TOKEN }} RT_TEST_LABEL="NWA12_RT_gaea_c5" PASS_LABEL="pass_NWA12_RT" echo "https://api.github.com/repos/$GITHUB_REPOSITORY/issues/$PR_NUMBER/labels" \