1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-25 11:20:01 +00:00

ci: disable the security-audit cron on non-canonical forks (#3027)

Co-authored-by: Chris Rose <offline@offby1.net>
This commit is contained in:
Chris Rose 2021-09-01 10:47:07 -07:00 committed by GitHub
parent 6e36353637
commit 85f7a4be39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,7 @@ on:
- cron: '0 0 * * *'
jobs:
security_audit:
if: (github.event_name == 'schedule' && github.repository == 'starship/starship') || (github.event_name != 'schedule')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4