From 858ad8c1a6efd7f0fa10d67de551f4cc9b6da17f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Mond=C3=A9jar=20Rubio?= Date: Sun, 9 Jun 2024 12:35:34 +0200 Subject: [PATCH] No additional labeling nor project assigning for release pull requests (#11153) --- .github/workflows/add-labels-priority.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/add-labels-priority.yml b/.github/workflows/add-labels-priority.yml index ebc0a68d7..ed13ece74 100644 --- a/.github/workflows/add-labels-priority.yml +++ b/.github/workflows/add-labels-priority.yml @@ -6,7 +6,9 @@ on: jobs: triage: runs-on: ubuntu-latest - if: github.event.action == 'opened' + if: | + github.event.action == 'opened' && + github.event.pull_request.base.ref != 'master' steps: - uses: actions/create-github-app-token@v1 id: app-token @@ -20,7 +22,9 @@ jobs: assign-to-project: runs-on: ubuntu-latest name: Assign to Project - if: github.event.action == 'opened' + if: | + github.event.action == 'opened' && + github.event.pull_request.base.ref != 'master' needs: triage steps: - uses: actions/create-github-app-token@v1 @@ -134,7 +138,8 @@ jobs: name: Unassign from Project if: | github.event.action != 'opened' && - github.event.pull_request.merged == false + github.event.pull_request.merged == false && + github.event.pull_request.base.ref != 'master' steps: - uses: actions/create-github-app-token@v1 id: app-token