mirror of
https://github.com/starship/starship.git
synced 2024-12-26 17:18:49 +01: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:
parent
6e36353637
commit
85f7a4be39
1
.github/workflows/security-audit.yml
vendored
1
.github/workflows/security-audit.yml
vendored
@ -12,6 +12,7 @@ on:
|
|||||||
- cron: '0 0 * * *'
|
- cron: '0 0 * * *'
|
||||||
jobs:
|
jobs:
|
||||||
security_audit:
|
security_audit:
|
||||||
|
if: (github.event_name == 'schedule' && github.repository == 'starship/starship') || (github.event_name != 'schedule')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2.3.4
|
- uses: actions/checkout@v2.3.4
|
||||||
|
Loading…
Reference in New Issue
Block a user