/
niceSOFT
/
python3-requests
Обзор
Документация
Войти
/
niceSOFT
/
python3-requests
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/close-issues.yml
38 строк
1 KB
Nate Prewitt
Add Zizmor workflow and make initial updates
01 апр 2026, 05:28
01 апр 2026, 05:28
cbce031
Код
Авторство
О чём код?
name: 'Autoclose Issues' on: issues: types: - labeled permissions: {} jobs: close_qa: permissions: issues: write if: github.event.label.name == 'actions/autoclose-qa' runs-on: ubuntu-latest steps: - env: ISSUE_URL: ${{ github.event.issue.html_url }} GH_TOKEN: ${{ github.token }} run: | gh issue close $ISSUE_URL \ --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/)" \ --reason completed gh issue lock $ISSUE_URL --reason off_topic close_feature_request: permissions: issues: write if: github.event.label.name == 'actions/autoclose-feat' runs-on: ubuntu-latest steps: - env: ISSUE_URL: ${{ github.event.issue.html_url }} GH_TOKEN: ${{ github.token }} run: | gh issue close $ISSUE_URL \ --comment "As described in the template, Requests is not accepting feature requests" \ --reason "not planned" gh issue lock $ISSUE_URL --reason off_topic