Skip to content

Commit

Permalink
test: avoid duplicate github cicd jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
lervag committed Oct 25, 2023
1 parent e626412 commit 528aee7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ jobs:
run-tests:
name: Test on ubuntu-latest
runs-on: ubuntu-latest
if: |
! startsWith(github.event.head_commit.message, 'doc:')
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
steps:
- name: Install packages
run: |
Expand Down

0 comments on commit 528aee7

Please sign in to comment.