Adding default labels workflow and issue template (#34)

* Adding default labels workflow and issue template

* Remove unwanted changes

Co-authored-by: Ganeshrockz <Ganeshrockz@users.noreply.github.com>
This commit is contained in:
Ganesh S 2021-06-29 22:54:30 +05:30 коммит произвёл GitHub
Родитель 285b84c41f
Коммит ce8aa428c9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 40 добавлений и 1 удалений

10
.github/ISSUE_TEMPLATE/bug-report-feature-request.md поставляемый Normal file
Просмотреть файл

@ -0,0 +1,10 @@
---
name: Bug Report / Feature Request
about: Create a report to help us improve
title: ''
labels: need-to-triage
assignees: ''
---

30
.github/workflows/defaultLabels.yml поставляемый Normal file
Просмотреть файл

@ -0,0 +1,30 @@
name: setting-default-labels
on:
schedule:
- cron: "0 0/3 * * *"
jobs:
label-issues:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
name: Setting issue as idle
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'This issue is idle because it has been open for 14 days with no activity.'
stale-issue-label: 'idle'
days-before-stale: 14
days-before-close: -1
operations-per-run: 100
exempt-issue-labels: 'backlog'
- uses: actions/stale@v3
name: Setting PR as idle
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-pr-message: 'This PR is idle because it has been open for 14 days with no activity.'
stale-pr-label: 'idle'
days-before-stale: 14
days-before-close: -1
operations-per-run: 100

Просмотреть файл

@ -225,4 +225,3 @@ export async function run() {
}
run().catch(core.setFailed);
© 2021 GitHub, Inc.