From 75ee2cd1f7f79d1ff0fc9e1e3db95b4310961b2c Mon Sep 17 00:00:00 2001 From: Dimitri Huisman <52963853+Diman0@users.noreply.github.com> Date: Mon, 28 Jun 2021 22:38:01 +0200 Subject: [PATCH] Added manual trigger for workflow Workflow file only triggers if it resides in the branch. If an old PR based on the mailu repo without CI.yml is tested, then the workflow run will not trigger. The merged commit on TESTING/STAGING branch does not contain the required CI.yml workflow file after all. In these cases simply run the workflow manually on the TESTING or STAGING branch, --- .github/workflows/CI.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 71897c52..8b7d1e01 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,5 +1,10 @@ name: CI on: +#NOTE: The workflow will ONLY trigger when the branch actually contains the CI.yml workflow file. +#So if a PR is tested on STAGING/TESTING branch by BORS without this file present, then the workflow +#will NOT trigger. For these situations, manually start the workflow. This should be resolved once all +#old PRs without the CI.yml workflow file have been merged. + workflow_dispatch: push: branches: - staging