/
githubmirror
/
bootstrap
Обзор
Документация
Войти
/
githubmirror
/
bootstrap
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
.github/workflows/issue-labeled.yml
27 строк
1 KB
Julien Déramond
Replace actions-cool/issues-helper by actions/github-script (#42435)
24 май 2026, 11:47
Не верифицирован
24 май 2026, 11:47
c3a5c26
Код
Авторство
О чём код?
name: Issue Labeled on: issues: types: [labeled] permissions: contents: read jobs: issue-labeled: permissions: issues: write if: github.repository == 'twbs/bootstrap' runs-on: ubuntu-latest steps: - name: awaiting reply if: github.event.label.name == 'needs-example' uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | await github.rest.issues.createComment({ owner: context.repo.owner, repo: context.repo.repo, issue_number: context.issue.number, body: `Hello @${context.payload.issue.user.login}. Bug reports must include a **live demo** of the issue. Per our [contributing guidelines](https://github.com/twbs/bootstrap/blob/main/.github/CONTRIBUTING.md), please create a reduced test case on [CodePen](https://codepen.io/) or [StackBlitz](https://stackblitz.com/) and report back with your link, Bootstrap version, and specific browser and Operating System details.` })