From 97b91133a5c6ce9c0426fc6f506b8e049eb3f14a Mon Sep 17 00:00:00 2001 From: Oscar Hinton Date: Mon, 30 Oct 2023 18:10:28 +0100 Subject: [PATCH] [PM-2331] Disable needs-qa label for renovate PRs (#6738) --- .github/renovate.json | 2 +- .github/workflows/label-issue-pull-request.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index c67902a3d9..14f10043d0 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -253,5 +253,5 @@ "reviewers": ["team:team-vault-dev"] } ], - "ignoreDeps": ["@types/koa-bodyparser", "bootstrap", "node-ipc", "regedit", "zone.js"] + "ignoreDeps": ["@types/koa-bodyparser", "bootstrap", "node-ipc", "npm", "regedit"] } diff --git a/.github/workflows/label-issue-pull-request.yml b/.github/workflows/label-issue-pull-request.yml index a83e9e569b..d0aad2f2b2 100644 --- a/.github/workflows/label-issue-pull-request.yml +++ b/.github/workflows/label-issue-pull-request.yml @@ -1,5 +1,5 @@ # Runs creation of Pull Requests -# If the PR destination branch is master, add a needs-qa label +# If the PR destination branch is master, add a needs-qa label unless created by renovate[bot] --- name: Label Issue Pull Request @@ -15,6 +15,7 @@ on: jobs: add-needs-qa-label: runs-on: ubuntu-latest + if: ${{ github.actor != 'renovate[bot]' }} steps: - name: Add label to pull request uses: andymckay/labeler@e6c4322d0397f3240f0e7e30a33b5c5df2d39e90 # 1.0.4