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:
Marcus Bointon 2025-08-04 18:26:34 +02:00 committed by GitHub
commit 52d0fe4916
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,9 @@ permissions: read-all
jobs:
analysis:
# Don't run the cron job on forks.
if: ${{ github.event_name != 'schedule' || github.event.repository.fork == false }}
name: Scorecards analysis
runs-on: ubuntu-latest
permissions: