2021-12-11 07:59:31 -05:00
|
|
|
name: Close Incorrect Issue
|
|
|
|
|
|
|
|
on:
|
|
|
|
issues:
|
|
|
|
types: [opened]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
close-incorrect-issue:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest]
|
2024-03-27 19:30:33 -04:00
|
|
|
node-version: [18]
|
2021-12-11 07:59:31 -05:00
|
|
|
|
|
|
|
steps:
|
2023-12-04 05:19:18 -05:00
|
|
|
- uses: actions/checkout@v4
|
2021-12-11 07:59:31 -05:00
|
|
|
|
|
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
2023-12-04 05:19:18 -05:00
|
|
|
uses: actions/setup-node@v4
|
2021-12-11 07:59:31 -05:00
|
|
|
with:
|
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
cache: 'npm'
|
|
|
|
- run: npm ci
|
|
|
|
- run: node extra/close-incorrect-issue.js ${{ secrets.GITHUB_TOKEN }} ${{ github.event.issue.number }} ${{ github.event.issue.user.login }}
|