Skip to content
Myr

close-issues.yml

This file

Path

.github/workflows/close-issues.yml

35 lines · 1.1 KiB · YAML

Last changed by

Merge pull request #6596 from psf/fix-autoclose-automtaionNate Prewittbefore adoption769bc3a

History of this file

Take it

Merge pull request #6527 from sigmavirus24/update-templatesNate Prewittbefore adoptionb55bb15

lines 1–17why, one step back
1name: 'Autoclose Issues'
23on:4 issues:5 types:6 - labeled78permissions:9 issues: write1011jobs:12 close_qa:13 if: github.event.label.name == 'actions/autoclose-qa'14 runs-on: ubuntu-latest15 steps:16 - env:17 ISSUE_URL: ${{ github.event.issue.html_url }}

Merge pull request #6596 from psf/fix-autoclose-automtaionNate Prewittbefore adoption769bc3a

line 18why, one step back
18 GH_TOKEN: ${{ github.token }}

Merge pull request #6527 from sigmavirus24/update-templatesNate Prewittbefore adoptionb55bb15

lines 19–29why, one step back
19 run: |
20 gh issue close $ISSUE_URL \21 --comment "As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow](https://stackoverflow.com/)" \22 --reason completed23 gh issue lock $ISSUE_URL --reason off_topic24 close_feature_request:25 if: github.event.label.name == 'actions/autoclose-feat'26 runs-on: ubuntu-latest27 steps:28 - env:29 ISSUE_URL: ${{ github.event.issue.html_url }}

Merge pull request #6596 from psf/fix-autoclose-automtaionNate Prewittbefore adoption769bc3a

line 30why, one step back
30 GH_TOKEN: ${{ github.token }}

Merge pull request #6527 from sigmavirus24/update-templatesNate Prewittbefore adoptionb55bb15

lines 31–35why, one step back
31 run: |
32 gh issue close $ISSUE_URL \33 --comment "As described in the template, Requests is not accepting feature requests" \34 --reason "not planned"35 gh issue lock $ISSUE_URL --reason off_topic