We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4c1a03 + 66cbd4f commit 60214ccCopy full SHA for 60214cc
.github/workflows/python-app.yml
@@ -79,6 +79,9 @@ jobs:
79
coverage:
80
needs: test
81
runs-on: ubuntu-latest
82
+ # Only run coverage for PRs from the same repository (not forks)
83
+ # This ensures secrets are available for Codecov and Codacy
84
+ if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
85
strategy:
86
matrix:
87
service: [codecov, codacy]
@@ -107,8 +110,8 @@ jobs:
107
110
108
111
container:
109
112
needs: coverage
- runs-on: ubuntu-latest
113
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
114
+ runs-on: ubuntu-latest
115
116
permissions:
117
contents: read
0 commit comments