Browse Source

Merge pull request #963 from Avaiga/fix/coverage-action

fix: skip coverage job if event is not pull request
João André 1 year ago
parent
commit
32b90b9ad0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/workflows/overall-tests.yml

+ 1 - 0
.github/workflows/overall-tests.yml

@@ -13,6 +13,7 @@ jobs:
 
 
   coverage:
   coverage:
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
+    if: ${{ github.event_name == 'pull_request' }}
     steps:
     steps:
       - uses: actions/checkout@v4
       - uses: actions/checkout@v4