Merge pull request #211 from abelbraaksma/patch-1

Improve clarity on configuring for forkable repos
This commit is contained in:
Michal Dorner 2022-11-30 18:34:50 +01:00 committed by GitHub
commit 396026f3c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,6 +58,8 @@ To workaround this security restriction, it's required to use two separate workf
1. `CI` runs in the context of the PR head branch with the read-only token. It executes the tests and uploads test results as a build artifact
2. `Test Report` runs in the context of the repository main branch with read/write token. It will download test results and create reports
The second workflow will only run after it has been merged into your default branch (typically `main` or `master`), it won't run in a PR unless after the workflow file is part of that branch.
**PR head branch:** *.github/workflows/ci.yml*
```yaml
name: 'CI'