Skip to content

Contrib suggestion: would you like me to add tests and refactor to TypeScript? #29

Contrib suggestion: would you like me to add tests and refactor to TypeScript?

Contrib suggestion: would you like me to add tests and refactor to TypeScript? #29

Workflow file for this run

name: Auto Issue closer
on:
issues:
types:
- opened
concurrency:
group: ${{ github.event.issue.number }}
jobs:
delete-test-issues:
runs-on: ubuntu-latest
if: contains(github.event.issue.labels.*.name, 'test')
steps:
- run: |
curl --silent --show-error \
--request PATCH \
--header "Accept: application/vnd.github.v3+json" \
--header "Authorization: token ${{ secrets.PAT }}" \
--url "https://api.github.com/repos/dacbd/create-issue-action/issues/${{ github.event.issue.number }}" \
--data '{"state":"closed"}'