diff --git a/.github/workflows/close-new-issues.yml b/.github/workflows/close-new-issues.yml index e21c81548bc884..1782f44bc48805 100644 --- a/.github/workflows/close-new-issues.yml +++ b/.github/workflows/close-new-issues.yml @@ -10,7 +10,7 @@ jobs: steps: - shell: bash env: - ISSUE_NUMBER: ${{ github.issue.number }} + ISSUE_NUMBER: ${{ github.event.issue.number }} GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: > gh issue close "$ISSUE_NUMBER" --comment "This repository