From c766e997430a302a3b29b2a7c59592fa9f662d00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Mon, 27 Apr 2020 12:35:35 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=B7=20First=20throw=20at=20project=20a?= =?UTF-8?q?utomation=20through=20labels?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...utomation_for_ticket_triage_via_labels.yml | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/project_automation_for_ticket_triage_via_labels.yml diff --git a/.github/workflows/project_automation_for_ticket_triage_via_labels.yml b/.github/workflows/project_automation_for_ticket_triage_via_labels.yml new file mode 100644 index 000000000..8719790c2 --- /dev/null +++ b/.github/workflows/project_automation_for_ticket_triage_via_labels.yml @@ -0,0 +1,36 @@ +name: Project automation for Ticket Triage via labels +on: + issues: + types: [labeled] +jobs: + github-actions-automate-projects: + runs-on: ubuntu-latest + steps: + - name: add-potential-bugs-to-to-analyse-column + uses: docker://takanabe/github-actions-automate-projects:v0.0.1 + if: label == "type:potential bug" || label == "type:confirmed bug" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 + GITHUB_PROJECT_COLUMN: To Analyse + - name: add-unreproduced-to-unreproduced-column + uses: docker://takanabe/github-actions-automate-projects:v0.0.1 + if: label == "status:unreproduced" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 + GITHUB_PROJECT_COLUMN: Unreproduced + - name: add-awaiting-information-to-insufficien-information-column + uses: docker://takanabe/github-actions-automate-projects:v0.0.1 + if: label == "status:awaiting information" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 + GITHUB_PROJECT_COLUMN: Insufficient information + - name: add-solved-to-solved-column + uses: docker://takanabe/github-actions-automate-projects:v0.0.1 + if: label == "status:solved" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 + GITHUB_PROJECT_COLUMN: Solved