Merge pull request #3187 from jrfnl/feature/ghactions-dont-run-cronjobs-on-forks
GH Actions: don't run cron jobs on forks
This commit is contained in:
commit
52d0fe4916
|
|
@ -12,6 +12,9 @@ permissions: read-all
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analysis:
|
analysis:
|
||||||
|
# Don't run the cron job on forks.
|
||||||
|
if: ${{ github.event_name != 'schedule' || github.event.repository.fork == false }}
|
||||||
|
|
||||||
name: Scorecards analysis
|
name: Scorecards analysis
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue