From 76d2616ff5329a798ff263398308b920d1b843c8 Mon Sep 17 00:00:00 2001 From: Niels Lange Date: Thu, 27 Oct 2022 17:29:12 +0700 Subject: [PATCH] =?UTF-8?q?=20Remove=20=E2=80=9Cstatus:=20ready=20to=20mer?= =?UTF-8?q?ge=E2=80=9D=20label=20after=20merge=20=20(https://github.com/wo?= =?UTF-8?q?ocommerce/woocommerce-blocks/pull/7456)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Remove “status: ready to merge” label after merge * Add GitHub Token * Add helper file to test woocommerce/woocommerce-blocks#7456 (https://github.com/woocommerce/woocommerce-blocks/pull/7457) * Adjust trigger * Adjust trigger * Update merged-with-labels.yml * Remove helper file to test woocommerce/woocommerce-blocks#7456 (https://github.com/woocommerce/woocommerce-blocks/pull/7458) * Add a test commit (https://github.com/woocommerce/woocommerce-blocks/pull/7493) * Remove the test commit * Test update (https://github.com/woocommerce/woocommerce-blocks/pull/7497) * Revert "Test update (https://github.com/woocommerce/woocommerce-blocks/pull/7497)" (https://github.com/woocommerce/woocommerce-blocks/pull/7498) This reverts commit 51c8638e71d00ac7ac5fc93cd2e36f884a3e4bc8. Co-authored-by: Saad Tarhi Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com> --- .../.github/workflows/merged-with-labels.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 plugins/woocommerce-blocks/.github/workflows/merged-with-labels.yml diff --git a/plugins/woocommerce-blocks/.github/workflows/merged-with-labels.yml b/plugins/woocommerce-blocks/.github/workflows/merged-with-labels.yml new file mode 100644 index 00000000000..85eff4d86c9 --- /dev/null +++ b/plugins/woocommerce-blocks/.github/workflows/merged-with-labels.yml @@ -0,0 +1,14 @@ +on: + pull_request: + types: [ closed ] + +name: Merged Pull Requests + +jobs: + remove_labels: + runs-on: ubuntu-latest + steps: + - uses: actions-ecosystem/action-remove-labels@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + labels: 'status: ready to merge'