Skip to content

Commit

Permalink
Merge pull request #4 from creative-commoners/pulls/1.0/forks
Browse files Browse the repository at this point in the history
DOC Only run crons on base account
  • Loading branch information
GuySartorelli authored Jul 5, 2022
2 parents bfbb751 + 1124266 commit d3e7d5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 '<account_name>/' to match the name of the account hosting this repository
if: startsWith(github.repository, '<account_name>/')
name: Update JS
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit d3e7d5d

Please sign in to comment.