close-issues.yml
This file
Path
.github/workflows/close-issues.yml
38 lines · 1.1 KiB · YAML
Last changed by
Add Zizmor workflow and make initial updatesNate Prewittbefore adoptioncbce031
History of this fileTake it
Merge pull request #6527 from sigmavirus24/update-templatesNate Prewittbefore adoptionb55bb15
lines 1–7why, one step back1name: 'Autoclose Issues'23on:4 issues:5 types:6 - labeled7Add Zizmor workflow and make initial updatesNate Prewittbefore adoptioncbce031
line 8why, one step back8permissions: {}Merge pull request #6527 from sigmavirus24/update-templatesNate Prewittbefore adoptionb55bb15
lines 9–11why, one step back910jobs:11 close_qa:Add Zizmor workflow and make initial updatesNate Prewittbefore adoptioncbce031
lines 12–13why, one step back12 permissions:13 issues: writeMerge pull request #6527 from sigmavirus24/update-templatesNate Prewittbefore adoptionb55bb15
lines 14–18why, one step back14 if: github.event.label.name == 'actions/autoclose-qa'15 runs-on: ubuntu-latest16 steps:17 - env:18 ISSUE_URL: ${{ github.event.issue.html_url }}Merge pull request #6596 from psf/fix-autoclose-automtaionNate Prewittbefore adoption769bc3a
line 19why, one step back19 GH_TOKEN: ${{ github.token }}Merge pull request #6527 from sigmavirus24/update-templatesNate Prewittbefore adoptionb55bb15
lines 20–25why, one step back20 run: |21 gh issue close $ISSUE_URL \22 --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/)" \23 --reason completed24 gh issue lock $ISSUE_URL --reason off_topic25 close_feature_request:Add Zizmor workflow and make initial updatesNate Prewittbefore adoptioncbce031
lines 26–27why, one step back26 permissions:27 issues: writeMerge pull request #6527 from sigmavirus24/update-templatesNate Prewittbefore adoptionb55bb15
lines 28–32why, one step back28 if: github.event.label.name == 'actions/autoclose-feat'29 runs-on: ubuntu-latest30 steps:31 - env:32 ISSUE_URL: ${{ github.event.issue.html_url }}Merge pull request #6596 from psf/fix-autoclose-automtaionNate Prewittbefore adoption769bc3a
line 33why, one step back33 GH_TOKEN: ${{ github.token }}Merge pull request #6527 from sigmavirus24/update-templatesNate Prewittbefore adoptionb55bb15
lines 34–38why, one step back34 run: |35 gh issue close $ISSUE_URL \36 --comment "As described in the template, Requests is not accepting feature requests" \37 --reason "not planned"38 gh issue lock $ISSUE_URL --reason off_topic