diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index c7ad55d..0324473 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -1,6 +1,14 @@ name: Test and coverage -on: [push, pull_request] +on: + push: + branches: + - master + - dev + pull_request: + branches: + - master + - dev jobs: build: diff --git a/.github/workflows/gitguardian.yml b/.github/workflows/gitguardian.yml index a7d1c89..9348538 100644 --- a/.github/workflows/gitguardian.yml +++ b/.github/workflows/gitguardian.yml @@ -1,6 +1,14 @@ name: GitGuardian scan -on: [push, pull_request] +on: + push: + branches: + - master + - dev + pull_request: + branches: + - master + - dev jobs: scanning: @@ -8,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # fetch all history so multiple commits can be scanned - name: GitGuardian scan