diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 5a2c5f7d..1bf4952b 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -55,6 +55,7 @@ jobs: fetch-depth: 0 persist-credentials: false ref: ${{ github.head_ref }} + repository: ${{ github.event.pull_request.head.repo.full_name }} - run: echo pycobertura >> requirements.txt - uses: py-actions/py-dependency-install@v4.1.0 diff --git a/changelog.d/20240301_184631_GitHub_Actions_pr-coverage.ron b/changelog.d/20240301_184631_GitHub_Actions_pr-coverage.ron new file mode 100644 index 00000000..815f09b9 --- /dev/null +++ b/changelog.d/20240301_184631_GitHub_Actions_pr-coverage.ron @@ -0,0 +1,8 @@ +( + references: {}, + changes: { + "Fixed": [ + "CI: error when running coverage workflow on forks", + ], + }, +)