Skip to content

Commit 596422e

Browse files
authored
chore: fix labelling GH action (#14300)
1 parent c1e5b8a commit 596422e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/issues.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,16 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- if: "${{ github.event.label.name == ':speech_balloon: Question' }}"
16-
run: gh issue close ${{ github.event.issue.number }} --comment "Please note this issue tracker is not a help forum. We recommend using [StackOverflow](https://stackoverflow.com/questions/tagged/jestjs) or our [discord channel](https://discord.gg/j6FKKQQrW9) for questions."
16+
run: gh issue close $ISSUE --comment "Please note this issue tracker is not a help forum. We recommend using [StackOverflow](https://stackoverflow.com/questions/tagged/jestjs) or our [discord channel](https://discord.gg/j6FKKQQrW9) for questions."
1717
env:
1818
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
ISSUE: ${{ github.event.issue.html_url }}
1920
bug-without-repro:
2021
name: Bug reports without reproductions
2122
runs-on: ubuntu-latest
2223
steps:
2324
- if: "${{ github.event.label.name == 'Needs Reproduction' }}"
24-
run: gh issue close ${{ github.event.issue.number }} --comment "As noted in the [Bug Report template](https://github.com/jestjs/jest/blob/main/.github/ISSUE_TEMPLATE/bug.yml), all bug reports requires a minimal reproduction. Please open up a new issue providing one. Read more at https://stackoverflow.com/help/minimal-reproducible-example."
25+
run: gh issue close $ISSUE --comment "As noted in the [Bug Report template](https://github.com/jestjs/jest/blob/main/.github/ISSUE_TEMPLATE/bug.yml), all bug reports requires a minimal reproduction. Please open up a new issue providing one. Read more at https://stackoverflow.com/help/minimal-reproducible-example."
2526
env:
2627
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28+
ISSUE: ${{ github.event.issue.html_url }}

0 commit comments

Comments
 (0)