From 6a6aed9f1e8940420825c328652ff52722368567 Mon Sep 17 00:00:00 2001 From: Jonathan Ferrari Date: Tue, 18 Jun 2024 13:52:37 -0700 Subject: [PATCH] Update update-lecture.yml --- .github/workflows/update-lecture.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/update-lecture.yml b/.github/workflows/update-lecture.yml index 13a54ce..cf43b63 100644 --- a/.github/workflows/update-lecture.yml +++ b/.github/workflows/update-lecture.yml @@ -58,16 +58,13 @@ jobs: run: sudo apt-get install -y gh - name: Authenticate with GitHub CLI - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: echo "$GH_TOKEN" | gh auth login --with-token + run: echo "${{ secrets.GH_PAT }}" | gh auth login --with-token - name: Close issue with comment env: LEC_NUM: ${{ env.Lecture_Number }} DEMO: ${{ env.Demo }} SLIDES: ${{ env.Slides }} - GH_TOKEN: ${{ secrets.GH_PAT }} run: | if [ "$DEMO" == "None" ]; then DEMO_TEXT="None"