Skip to content

Commit

Permalink
Prevent fork runs
Browse files Browse the repository at this point in the history
  • Loading branch information
dbast committed Nov 29, 2023
1 parent aeb00f7 commit e7c89c5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/regression-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@ jobs:
python -c "import sys; assert f'{sys.version_info.major}.{sys.version_info.minor}' == '${{ matrix.python-version }}'"
issue-324:
# prevent cronjobs from running on forks
if:
(github.event_name == 'schedule' && github.repository ==
'conda-incubator/setup-miniconda') || (github.event_name != 'schedule')
runs-on: windows-latest
name: Issue 324
steps:
- uses: actions/checkout@v4
- uses: ./
Expand Down

0 comments on commit e7c89c5

Please sign in to comment.