From 2152624e052de83e27ce391f7c3eac911301ef42 Mon Sep 17 00:00:00 2001 From: Will Hickey Date: Thu, 8 Feb 2024 12:50:34 -0600 Subject: [PATCH] use github.event.issue.number --- .github/workflows/close-new-issues.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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