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 04afcf6 commit 9a10f64
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/invalid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ jobs:
runs-on: ubuntu-latest
if: github.event.label.name == 'invalid'
steps:
- name: Close Issue
uses: peter-evans/close-issue@v3
- name: Checkout
uses: actions/checkout@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.
fetch-depth: 0
- name: Close Issue
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 9a10f64

Please sign in to comment.