Skip to content

Commit

Permalink
github-action: skip e2e-testing for dependabot (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored May 22, 2024
1 parent a50af77 commit 523fabe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ env:
# update e2e-docs.yml
jobs:
test:
if: |
github.event_name != 'pull_request' ||
(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false)
# If no PR event or if a PR event that's caused by a non-fork and non dependabot actor
if: github.event_name != 'pull_request' || ( github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]' )
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 523fabe

Please sign in to comment.