From f191e67022b0225b378b89b89d077e9f2d8295a6 Mon Sep 17 00:00:00 2001 From: Abel Braaksma Date: Thu, 24 Nov 2022 18:28:51 +0100 Subject: [PATCH] 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. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a2d2d4a0..727968f6 100644 --- a/README.md +++ b/README.md @@ -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'