Skip to content

Commit

Permalink
Adding default labels workflow and issue template (#33)
Browse files Browse the repository at this point in the history
Co-authored-by: ajinkya599 <ajinkya599@users.noreply.github.com>
  • Loading branch information
ajinkya599 and ajinkya599 committed Jun 25, 2021
1 parent 5fee5de commit ca86510
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report-feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Bug Report / Feature Request
about: Create a report to help us improve
title: ''
labels: need-to-triage
assignees: ''

---


30 changes: 30 additions & 0 deletions .github/workflows/defaultLabels.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ca86510

Please sign in to comment.