From 11242662a67e9cd52bcbbda583b8078d74eb2e51 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 30 Jun 2022 13:18:14 +1200 Subject: [PATCH] DOC Only run crons on base account --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 316391d..cf404ca 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,10 @@ on: jobs: update-js: + # Only run the cron on the account hosting this repository, not on the accounts of forks + # github.repository take the form of AccountName/repository-name + # Change '/' to match the name of the account hosting this repository + if: startsWith(github.repository, '/') name: Update JS runs-on: ubuntu-latest steps: