Health Dashboard Onboarding Workflows (#25)
* Create labels.yml * Create add-labels.yml * Create defaultLabels.yml
This commit is contained in:
Родитель
3a90d739c4
Коммит
b2ac28d98f
|
@ -0,0 +1,47 @@
|
||||||
|
- name: need-to-triage
|
||||||
|
color: "#fbca04"
|
||||||
|
description: "Requires investigation"
|
||||||
|
|
||||||
|
- name: idle
|
||||||
|
color: "#9A777A"
|
||||||
|
description: "Inactive for 14 days"
|
||||||
|
|
||||||
|
- name: stale
|
||||||
|
color: "#A9A9A9"
|
||||||
|
description: "90 days old"
|
||||||
|
|
||||||
|
- name: question
|
||||||
|
color: "#d876e3"
|
||||||
|
description: "Requiring some clarification"
|
||||||
|
|
||||||
|
- name: bug
|
||||||
|
color: "#d73a4a"
|
||||||
|
description: "Something is not working"
|
||||||
|
|
||||||
|
- name: P0
|
||||||
|
color: "#B60205"
|
||||||
|
description: "Action not working"
|
||||||
|
|
||||||
|
- name: P1
|
||||||
|
color: "#EE3D1D"
|
||||||
|
description: "Some scenario broken but workaround exists"
|
||||||
|
|
||||||
|
- name: enhancement
|
||||||
|
color: "#a2eeef"
|
||||||
|
description: "Feature request/improved experience"
|
||||||
|
|
||||||
|
- name: documentation
|
||||||
|
color: "#0075ca"
|
||||||
|
description: "Improvements or additions to documentation"
|
||||||
|
|
||||||
|
- name: backlog
|
||||||
|
color: "#bd7e4b"
|
||||||
|
description: "Planned for future"
|
||||||
|
|
||||||
|
- name: performance-issue
|
||||||
|
color: "#0e8a16"
|
||||||
|
description: "Performance improvement required"
|
||||||
|
|
||||||
|
- name: waiting-for-customer
|
||||||
|
color: "#0e8a16"
|
||||||
|
description: "Waiting for inputs from customer"
|
|
@ -0,0 +1,19 @@
|
||||||
|
name: add-labels
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test_action_job:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out source code
|
||||||
|
uses: actions/checkout@v1
|
||||||
|
- name: Synchronize labels
|
||||||
|
uses: julb/action-manage-label@v1
|
||||||
|
with:
|
||||||
|
from: .github/config/labels.yml
|
||||||
|
skip_delete: true
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@ -0,0 +1,36 @@
|
||||||
|
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
|
Загрузка…
Ссылка в новой задаче