From fbf11aa088f6b3d5adee760d84284339d9e49b81 Mon Sep 17 00:00:00 2001 From: Lea Anthony Date: Fri, 23 Sep 2022 14:16:34 +1000 Subject: [PATCH] Auto label project cards (#1881) --- .github/workflows/projects.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/projects.yml diff --git a/.github/workflows/projects.yml b/.github/workflows/projects.yml new file mode 100644 index 000000000..1217e6230 --- /dev/null +++ b/.github/workflows/projects.yml @@ -0,0 +1,16 @@ +name: Update Project + +on: + project_card: + types: [ moved ] + +jobs: + projectcardautolabel_job: + runs-on: ubuntu-latest + steps: + - name: Run ProjectCard AutoLabel + id: runprojectcardautolabel + uses: Matticusau/projectcard-autolabel@v1.0.0 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + autolabel-config: '[{"column": "TODO", "add_labels":["TODO"], "remove_labels":["In Progress", "Ready For Testing"]},{"column":"In progress", "add_labels":["In Progress"], "remove_labels":["TODO", "Ready For Testing"]},{"column":"In review", "add_labels":["Ready For Testing"], "remove_labels":["TODO", "In Progress"]}, {"column":"Done", "add_labels":["Done"], "remove_labels":["TODO", "In Progress", "Ready For Testing"]}]' \ No newline at end of file