diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7f129180f..0a8638894 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ name: ci pull_request: branches: - master - create: + create: jobs: tests: runs-on: ubuntu-latest @@ -64,7 +64,7 @@ jobs: run: bundle exec rake - name: Run codacy-coverage-reporter uses: codacy/codacy-coverage-reporter-action@master - if: env.COVERAGE == 'true' && env.COVERAGE_TOKEN != '' + if: github.ref == 'refs/heads/master' && env.COVERAGE == 'true' && env.COVERAGE_TOKEN != '' with: project-token: "${{secrets.CODACY_PROJECT_TOKEN}}" coverage-reports: coverage/coverage.xml