diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 00cb49c..2ccc68d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,6 +7,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Pull Review - uses: jckdotim/pull-review-action@v0.1.2 + uses: jckdotim/pull-review-action@v0.1.3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/entrypoint.sh b/entrypoint.sh index 4940b00..63ba7bf 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -2,11 +2,6 @@ set -e -if [[ -z "$GITHUB_TOKEN" ]]; then - echo "Set the GITHUB_TOKEN environment variable." - exit 1 -fi - owner=$(jq --raw-output .pull_request.base.repo.owner.login "$GITHUB_EVENT_PATH") repo=$(jq --raw-output .pull_request.base.repo.name "$GITHUB_EVENT_PATH") pr_number=$(jq --raw-output .number "$GITHUB_EVENT_PATH")