Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
GH Actions: improve "don't run on forks" condition
Remove the condition containing a hard-coded repository name in favour of a more generic condition which should safeguard that the cron job doesn't run on forks just the same.
  • Loading branch information
jrfnl committed Aug 4, 2025
commit efe3b2b15a83699f1569e744b8b1a3b8f69b72df
2 changes: 1 addition & 1 deletion .github/workflows/update-cacert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
certificate-check:
name: "Check for updated certificate bundle"
# Don't run the cron job on forks.
if: ${{ github.event_name != 'schedule' || github.repository == 'WordPress/Requests' }}
if: ${{ github.event_name != 'schedule' || github.event.repository.fork == false }}

runs-on: ubuntu-latest
steps:
Expand Down
Loading