You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/12/27 13:52:31 UTC

[airflow-cancel-workflow-runs] 15/44: Update README.md

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow-cancel-workflow-runs.git

commit 35d676655f12a395cc2e49ba2f1fb24ac7a65c7f
Author: Jason T. Greene <ja...@stacksmash.com>
AuthorDate: Wed Feb 19 14:59:37 2020 -0600

    Update README.md
---
 README.md | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index c357988..056b04c 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,9 @@ name: Cleanup Duplicate Branches and PRs
 on:
   schedule:
     - cron:  '*/15 * * * *'
-cancel-runs: 
+cancel-runs:
+  # Prevent forks from running this to be nice
+  if: github.repository == 'foo-org/my-repo'
   runs-on: ubuntu-latest
     steps:
       - uses: n1hility/cancel-previous-runs@v2