mirror of
https://github.com/Azure/setup-kubectl.git
synced 2025-12-12 13:11:33 +00:00
30 lines
1.1 KiB
YAML
30 lines
1.1 KiB
YAML
name: setting-default-labels
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 0/3 * * *'
|
|
|
|
jobs:
|
|
label-issues:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0
|
|
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@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0
|
|
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
|