From c640fe33b75cf3498e270c5f8043e455c7ec2eca Mon Sep 17 00:00:00 2001
From: Candace Savonen <cansav09@gmail.com>
Date: Tue, 24 Oct 2023 10:09:39 -0400
Subject: [PATCH] Fix GH_PAT

---
 .github/workflows/check-url.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.github/workflows/check-url.yml b/.github/workflows/check-url.yml
index c516c317..2329561c 100644
--- a/.github/workflows/check-url.yml
+++ b/.github/workflows/check-url.yml
@@ -82,6 +82,8 @@ jobs:
 
     - name: Find issues
       id: find-issue
+      env:
+        GH_PAT: ${{ secrets.GH_PAT }}
       run: |
         issue_exists=$(Rscript --vanilla scripts/find_issue.R --repo "$GITHUB_REPOSITORY" --git_pat "$GH_PAT")
         echo URL issue exists: $issue_exists