/
githubmirror
/
scikit-learn
Обзор
Документация
Войти
/
githubmirror
/
scikit-learn
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/needs-decision.yml
48 строк
1 KB
Stefanie Senger
MNT/DOC Autoclose schedule doesn't run on forks and improved structuring (#32889)
22 дек 2025, 18:04
Не верифицирован
22 дек 2025, 18:04
521a5b0
Код
Авторство
О чём код?
name: Needs Decision # Post a comment on Issues to explain what the "Needs Decision" label means. permissions: contents: read issues: write on: issues: types: - labeled env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_REPO: ${{ github.repository }} ISSUE_NUMBER: ${{ github.event.issue.number }} jobs: post_comment: name: Add 'Needs Decision' comment if: github.event.label.name == 'Needs Decision' runs-on: ubuntu-latest steps: - name: add 'Needs decision' comment run: | gh api \ --method POST \ -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ /repos/$GH_REPO/issues/$ISSUE_NUMBER/comments \ -f "body=$BODY" env: BODY: > Thanks for the work you've done so far. The goal of this comment is to set expectations. Deciding on new features or substantial changes is a lengthy process. It frequently happens that no maintainer is available to take on this task right now. Please do not create a Pull Request before a decision has been made regarding the proposed work. Making this decision can often take a significant amount of time and effort.