From 9bcce5ebc53bdd357910b104c0814a9e3658e301 Mon Sep 17 00:00:00 2001 From: thomas Date: Mon, 20 May 2024 22:47:54 +0200 Subject: [PATCH] feat: add actions for update PR --- .github/workflows/label-issue-update.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/label-issue-update.yml diff --git a/.github/workflows/label-issue-update.yml b/.github/workflows/label-issue-update.yml new file mode 100644 index 0000000..8d478e9 --- /dev/null +++ b/.github/workflows/label-issue-update.yml @@ -0,0 +1,18 @@ +name: updates Labels + +on: + pull_request_target: + types: [ edited ] + +jobs: + add_labels: + runs-on: ubuntu-latest + if: ${{ github.event.label.name == 'sponsor' || github.event.label.name == 'contributor' }} + steps: + - name: checkout + uses: actions/checkout@v2 + + - name: Add labels + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: to be reviewed/update