From 8f77f7923ae3fbee8c12a767f1485053655e3750 Mon Sep 17 00:00:00 2001 From: Riley Date: Mon, 27 Jan 2025 12:54:39 -0700 Subject: [PATCH] Cleaning up URL --- .github/workflows/pr.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index e9f848bad2..65082fda4f 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -14,7 +14,7 @@ jobs: uses: octokit/request-action@v2.x id: check_permissions with: - route: GET /repos/${{ github.repository }}/collaborators/${{ github.actor }}/permission + route: GET /repos/:org/:repo/collaborators/:user/permission env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Debug Permission Response @@ -61,7 +61,7 @@ jobs: uses: octokit/request-action@v2.x id: check_permissions with: - route: GET /repos/${{ github.repository }}/collaborators/${{ github.actor }}/permission + route: GET /repos/:org/:repo/collaborators/:user/permission env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Debug Permission Response