Skip to content

Commit

Permalink
ci(invalid): use gh cli
Browse files Browse the repository at this point in the history
  • Loading branch information
robingenz committed Dec 8, 2023
1 parent 419cd1e commit effb96e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/invalid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ jobs:
if: github.event.label.name == 'invalid'
steps:
- name: Close Issue
uses: peter-evans/close-issue@v3
with:
issue-number: ${{ github.event.issue.number }}
comment: |
This issue has been labeled as `invalid`. This label is added to issues that are incomplete and do not provide enough information for us to help you. Please reach out if you have any questions or concerns.
run: gh issue close ${{ github.event.issue.number }} --comment "This issue has been labeled as `invalid`. This label is added to issues that are incomplete and do not provide enough information for us to help you. Please reach out if you have any questions or concerns."
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit effb96e

Please sign in to comment.