Skip to content

Commit

Permalink
Improve clarity on configuring for forkable repos
Browse files Browse the repository at this point in the history
Add a note to signify that a workflow-based run won't execute in a PR and must be merged into `main` first.
  • Loading branch information
abelbraaksma authored Nov 24, 2022
1 parent 074fe2c commit f191e67
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit f191e67

Please sign in to comment.