diff --git a/.github/workflows/pull-request-checker.yml b/.github/workflows/pull-request-checker.yml index 375ea5b60f..50b9106816 100644 --- a/.github/workflows/pull-request-checker.yml +++ b/.github/workflows/pull-request-checker.yml @@ -1,7 +1,7 @@ name: PR Checker on: - pull_request: + pull_request_target: branches: - docs-staging - master @@ -31,7 +31,7 @@ jobs: id: check-if-labeller if: ${{ steps.check-if-writer.outcome == 'skipped' }} env: - GITHUB_TOKEN: ${{ secrets.ZOWE_ROBOT_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | response=$(curl -fs -H "Authorization: Token $GITHUB_TOKEN" \ "https://api.github.com/repos/${{ github.repository }}/collaborators/${{ github.event.pull_request.user.login }}/permission")