From 0710eb18200139c569e8da91e2dc24f762ec4a1b Mon Sep 17 00:00:00 2001 From: Maximilian Franzke <787658+mfranzke@users.noreply.github.com> Date: Fri, 14 Oct 2022 14:38:21 +0200 Subject: [PATCH 1/2] fix: issue with commits from fork --- .github/workflows/pull-request.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 1bbf3f244d..1dbe840a79 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -22,4 +22,5 @@ jobs: uses: ./.github/workflows/99-dependency-review.yml labeler: + if: github.owner == 'db-ui' uses: ./.github/workflows/99-labeler.yml From 98a8038b7da520238f00557f76afd59b34a5e20c Mon Sep 17 00:00:00 2001 From: Maximilian Franzke Date: Fri, 14 Oct 2022 14:44:28 +0200 Subject: [PATCH 2/2] chore: added condition --- .github/workflows/default.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/default.yml b/.github/workflows/default.yml index 76025f08f8..bd9cf63cef 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/default.yml @@ -22,5 +22,5 @@ jobs: if: contains( github.ref, 'main') uses: ./.github/workflows/02-deploy-gh-pages.yml # TODO: we need the following after we've added the preview branch deployments - # if: ${{ github.actor != 'dependabot[bot]' }} + # if: ${{ github.actor != 'dependabot[bot]' && github.owner == 'db-ui' }} needs: [lint, test, build]