Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ jobs:
coverage:
needs: test
runs-on: ubuntu-latest
# Only run coverage for PRs from the same repository (not forks)
# This ensures secrets are available for Codecov and Codacy
if: github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'push'
strategy:
matrix:
service: [codecov, codacy]
Expand Down Expand Up @@ -107,8 +110,8 @@ jobs:

container:
needs: coverage
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
runs-on: ubuntu-latest

permissions:
contents: read
Expand Down