From 2f407cb17276a38c5d6e55cba2eab3c82696e448 Mon Sep 17 00:00:00 2001 From: jonathansadowski Date: Tue, 18 Jul 2023 05:01:36 +0700 Subject: [PATCH] Update post-merge workflow to add 'needs: analysis' label (#39277) --- .github/workflows/pull-request-post-merge-processing.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pull-request-post-merge-processing.yml b/.github/workflows/pull-request-post-merge-processing.yml index 645d373c8b4..4d47340f4cb 100644 --- a/.github/workflows/pull-request-post-merge-processing.yml +++ b/.github/workflows/pull-request-post-merge-processing.yml @@ -45,3 +45,9 @@ jobs: env: PULL_REQUEST_ID: ${{ github.event.pull_request.node_id }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: 'Add the label for PR analysis' + if: github.event.pull_request.base.ref == 'trunk' + uses: actions-ecosystem/action-add-labels@bd52874380e3909a1ac983768df6976535ece7f8 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + labels: 'needs: analysis'