diff --git a/.github/workflows/add-label-on-approve.yml b/.github/workflows/add-label-on-approve.yml index 5012141d8b5..6fbc4bf9ff6 100644 --- a/.github/workflows/add-label-on-approve.yml +++ b/.github/workflows/add-label-on-approve.yml @@ -16,7 +16,6 @@ jobs: steps: - run: gh pr edit "$NUMBER" --add-label "$LABELS" env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_REPO: ${{ github.repository }} + github_token: ${{ secrets.GITHUB_TOKEN }} NUMBER: ${{ github.event.pull_request.number }} LABELS: extended-tests