/
githubmirror
/
next.js
Обзор
Документация
Войти
/
githubmirror
/
next.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
canary
.github/workflows/issue_wrong_template.yml
25 строк
802 B
Benjamin Woodruff
[ci] Set `persist-credentials: false` for all GH actions (#94214)
05 июн 2026, 21:28
Не верифицирован
05 июн 2026, 21:28
ef63481
Код
Авторство
О чём код?
name: 'Close issues using the wrong issue template' on: issues: types: [labeled] jobs: close: if: github.event.label.name == 'please use the correct issue template' runs-on: ubuntu-latest steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 with: package-manager-cache: false - name: Setup corepack run: | npm i -g corepack@0.31 corepack enable - name: 'Close issues using the wrong issue template' run: node ./.github/actions/next-repo-actions/dist/wrong-issue-template/index.js env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}