diff --git a/.github/workflows/community_metrics.yml b/.github/workflows/community_metrics.yml index 70c9ebafb1f..28e2f9d9da6 100644 --- a/.github/workflows/community_metrics.yml +++ b/.github/workflows/community_metrics.yml @@ -14,7 +14,7 @@ jobs: - name: Close Previous Issue shell: pwsh run: | - $issues = gh issue list --repo '${{ github.action_repository }}' --label 'community metrics' --state open --json number --jq '.[].number' + $issues = gh issue list --repo '${{ github.repository }}' --label 'community metrics' --state open --json number --jq '.[].number' foreach ($issue in $issues) { gh issue close $issue --comment 'Closing this issue as newer community metrics are available.'