Skip to content
Myr

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 file

Take it

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

lines 1–7why, one step back
1name: 'Autoclose Issues'
23on:4 issues:5 types:6 - labeled7

Add Zizmor workflow and make initial updatesNate Prewittbefore adoptioncbce031

line 8why, one step back
8permissions: {}

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

lines 9–11why, one step back
9
10jobs:11 close_qa:

Add Zizmor workflow and make initial updatesNate Prewittbefore adoptioncbce031

lines 12–13why, one step back
12 permissions:
13 issues: write

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

lines 14–18why, one step back
14 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 back
19 GH_TOKEN: ${{ github.token }}

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

lines 20–25why, one step back
20 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 back
26 permissions:
27 issues: write

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

lines 28–32why, one step back
28 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 back
33 GH_TOKEN: ${{ github.token }}

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

lines 34–38why, one step back
34 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