Skip to content

Commit

Permalink
Merge pull request #4047 from zowe/ci/fix-dependabot-workflow
Browse files Browse the repository at this point in the history
Fix Netlify deploy for Dependabot PRs
  • Loading branch information
t1m0thyj authored Jan 3, 2025
2 parents a15964c + 707b6fa commit 3c73085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:

- name: Deploy to Netlify
id: deploy
if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository }}
if: ${{ github.event_name == 'push' || (github.event.pull_request.head.repo.full_name == github.repository && github.event.pull_request.user.login != 'dependabot[bot]') }}
uses: nwtgck/actions-netlify@v3
with:
publish-dir: build
Expand Down

0 comments on commit 3c73085

Please sign in to comment.