From 6212dde5b668fa95c1cf6239dee431c3cde5b43c Mon Sep 17 00:00:00 2001 From: Deepak Dahiya <59823596+t-dedah@users.noreply.github.com> Date: Fri, 11 Jun 2021 13:45:04 +0530 Subject: [PATCH] Added add-label-workflow (#53) --- .github/config/labels.yml | 47 ++++++++++++++++++++++++++++++++ .github/workflows/add-labels.yml | 17 ++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 .github/config/labels.yml create mode 100644 .github/workflows/add-labels.yml diff --git a/.github/config/labels.yml b/.github/config/labels.yml new file mode 100644 index 0000000..35c7410 --- /dev/null +++ b/.github/config/labels.yml @@ -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" diff --git a/.github/workflows/add-labels.yml b/.github/workflows/add-labels.yml new file mode 100644 index 0000000..a501fbd --- /dev/null +++ b/.github/workflows/add-labels.yml @@ -0,0 +1,17 @@ +name: add-labels +on: + workflow_dispatch: + +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 }} \ No newline at end of file