mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
Improve clarity on configuring for forkable repos
Add a note to signify that a workflow-based run won't execute in a PR and must be merged into `main` first.
This commit is contained in:
parent
074fe2cd27
commit
f191e67022
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
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
|
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*
|
**PR head branch:** *.github/workflows/ci.yml*
|
||||||
```yaml
|
```yaml
|
||||||
name: 'CI'
|
name: 'CI'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue