mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-03-25 15:22:15 +08:00
* Add missing API switch for GHES (#200) * Vidya reddy/prettier code (#203) * Add node modules and compiled JavaScript from main Co-authored-by: nv35 <76777923+nv35@users.noreply.github.com> Co-authored-by: Vidya <59590642+Vidya2606@users.noreply.github.com> Co-authored-by: Oliver King <oking3@uncc.edu>
36 lines
1.2 KiB
YAML
36 lines
1.2 KiB
YAML
name: setting-default-labels
|
|
|
|
# Controls when the action will run.
|
|
on:
|
|
schedule:
|
|
- cron: '0 0/3 * * *'
|
|
|
|
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
|
jobs:
|
|
build:
|
|
# The type of runner that the job will run on
|
|
runs-on: ubuntu-latest
|
|
|
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
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
|