setup-kubectl/.github/workflows/defaultLabels.yml
Tauhid Anjum f2861b07f3
Adding default labels workflow and issue template (#32)
Co-authored-by: tauhid621 <tauhid621@users.noreply.github.com>
2021-06-28 15:49:54 +05:30

30 lines
925 B
YAML

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