From 026f8cf918c47ccd39929fe7d6b3750e8c918dcf Mon Sep 17 00:00:00 2001 From: Piotr Rogowski Date: Sun, 29 Oct 2023 16:01:08 +0100 Subject: [PATCH] Allow dependabot to run build for validation --- .github/workflows/build-preview.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-preview.yml b/.github/workflows/build-preview.yml index ef60148..68da4b7 100644 --- a/.github/workflows/build-preview.yml +++ b/.github/workflows/build-preview.yml @@ -12,7 +12,7 @@ on: jobs: build: runs-on: ubuntu-latest - if: github.repository_owner == 'FOME-Tech' && github.actor != 'dependabot[bot]' + if: github.repository_owner == 'FOME-Tech' steps: - uses: actions/checkout@v4 @@ -28,11 +28,13 @@ jobs: run: npm run build - name: Save PR number + if: github.actor != 'dependabot[bot]' run: | echo ${{ github.event.number }} > ./build/PR_NR - name: Upload preview build uses: actions/upload-artifact@v3 + if: github.actor != 'dependabot[bot]' with: name: build path: build/