Skip to content

Commit

Permalink
infra: Don't run scheduled tests on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
VladimirSlavik committed Aug 24, 2023
1 parent 9ae006b commit 55ba9b3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tests-daily.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
unit-tests:
runs-on: ubuntu-20.04
timeout-minutes: 30
# Don't run scheduled workflows on forks.
if: github.event_name != 'schedule' || github.repository == 'rhinstaller/anaconda'
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -77,6 +79,8 @@ jobs:
rpm-tests:
runs-on: ubuntu-20.04
timeout-minutes: 30
# Don't run scheduled workflows on forks.
if: github.event_name != 'schedule' || github.repository == 'rhinstaller/anaconda'
strategy:
fail-fast: false
matrix:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests-daily.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
unit-tests:
runs-on: ubuntu-20.04
timeout-minutes: 30
# Don't run scheduled workflows on forks.
if: github.event_name != 'schedule' || github.repository == 'rhinstaller/anaconda'
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -87,6 +89,8 @@ jobs:
rpm-tests:
runs-on: ubuntu-20.04
timeout-minutes: 30
# Don't run scheduled workflows on forks.
if: github.event_name != 'schedule' || github.repository == 'rhinstaller/anaconda'
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit 55ba9b3

Please sign in to comment.