Skip to content

Commit

Permalink
Allow dependabot to run build for validation
Browse files Browse the repository at this point in the history
  • Loading branch information
karniv00l committed Oct 29, 2023
1 parent 50706bb commit 026f8cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/

0 comments on commit 026f8cf

Please sign in to comment.