Skip to content

Commit

Permalink
Chore: Stop running scheduled tests on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
BeyondEvil committed Aug 20, 2023
1 parent eaacc0f commit 664bb2c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Scheduled Tests

on:
schedule:
- cron: '0 14 * * *' # Run daily at 14:00 UTC

jobs:
tests:
if: github.repository_owner == 'pytest-dev'
uses: ./.github/workflows/tests.yml
4 changes: 1 addition & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ on:
branches:
- master

schedule:
- cron: '0 14 * * *' # Run daily at 14:00 UTC

pull_request:
workflow_call:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down

0 comments on commit 664bb2c

Please sign in to comment.