Skip to content

Commit

Permalink
Don't run docs-deploy job on Dependabot PRs (foxglove#978)
Browse files Browse the repository at this point in the history
### Public-Facing Changes

None

### Description

This PR failed to run `docs-deploy` because it was authored by
dependabot: foxglove#977

This copies similar logic that we use in `ci.yml` to exclude this job
for dependabot. It's okay to skip because this job is not marked as a
required check.
  • Loading branch information
jtbandes authored and pezy committed Jan 11, 2024
1 parent 175999e commit 5a4a5b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ jobs:

docs-deploy:
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }}
needs:
- docs-home
- docs-cpp
Expand Down

0 comments on commit 5a4a5b5

Please sign in to comment.