diff --git a/.github/workflows/back-test.yaml b/.github/workflows/back-test.yaml index 19fc6d6..cd9b3d0 100644 --- a/.github/workflows/back-test.yaml +++ b/.github/workflows/back-test.yaml @@ -1,6 +1,6 @@ name: Backend Tests on: - pull_request: + push: workflow_dispatch: permissions: contents: read @@ -31,6 +31,7 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 + if: github.ref == 'refs/heads/main' with: token: ${{ secrets.CODECOV_TOKEN }} files: cover.out diff --git a/.github/workflows/front-test.yaml b/.github/workflows/front-test.yaml index 02310cb..a9fd6b9 100644 --- a/.github/workflows/front-test.yaml +++ b/.github/workflows/front-test.yaml @@ -1,7 +1,7 @@ name: Frontend Tests on: - pull_request: workflow_dispatch: + push: jobs: frontend-buildtests: runs-on: ubuntu-latest diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 9946773..9644037 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -1,7 +1,7 @@ name: Lint on: - pull_request: workflow_dispatch: + push: jobs: frontend-lint: runs-on: ubuntu-latest