Skip to content

Commit

Permalink
Run dependency workflow on a schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
tsundvoll committed Apr 23, 2024
1 parent 11bb87b commit e7273cf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/compile_requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on:
branches:
- main

schedule:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows
# In a public repository, scheduled workflows are automatically disabled when no
# repository activity has occurred in 60 days
- cron: "5 6 * * 1-5" # At 06:05 on every day-of-week from Monday through Friday

jobs:
compile-requirements:
runs-on: ubuntu-latest
Expand All @@ -15,7 +21,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.deploy_key }}
ssh-key: ${{ secrets.deploy_key }}

- name: Set up Python
uses: actions/setup-python@v5
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: Run pytest

on:
push:
branches:
Expand Down

0 comments on commit e7273cf

Please sign in to comment.