Skip to content

Commit

Permalink
🧪🔧 Move cron trigger to separate GHA workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Dec 31, 2023
1 parent 92759ce commit 617f04b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---

name: Cron

on:
schedule:
- cron: "0 6 * * *" # daily at 6am

jobs:
test:
if: github.repository_owner == 'pypa' # suppress noise in forks
uses: ./.github/workflows/test.yml

...
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ on:
branches-ignore:
- gh-readonly-queue/** # Temporary merge queue-related GH-made branches
pull_request:
schedule:
- cron: "0 6 * * *" # daily at 6am
workflow_call:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
Expand Down

0 comments on commit 617f04b

Please sign in to comment.