Skip to content

Commit

Permalink
Dont run okd job periodicaly on forks
Browse files Browse the repository at this point in the history
make sure the job runs upstream only

Signed-off-by: Evgeny Slutsky <[email protected]>
  • Loading branch information
eslutsky committed Jul 24, 2023
1 parent b6b5097 commit 952642c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-sno-okd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
- cron: '30 04 * * *'
jobs:
build:
if: ( github.event_name == 'schedule' && github.repository == 'kubev2v/forkliftci' ) || (github.event_name != 'schedule')
name: Deploy OKD
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 952642c

Please sign in to comment.