Skip to content

Commit

Permalink
github actions: run submodule sync only once per week
Browse files Browse the repository at this point in the history
There are a lot of submodule updates happening.
To decrease maintenance commits run this job only once a week.
This still allows us to keep roughly up to date w/o a ton of extra commits.

If a submodule change is important to publish immediately the github action
can be run from the repo's web UI by any repo owner.

Signed-off-by: Bill Mills <bill.mills@linaro.org>
  • Loading branch information
wmamills committed Sep 10, 2023
1 parent 32ca745 commit eb91a42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sync-submodules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: 'Submodules Sync'
on:
# Allows you to run this workflow manually from the Actions tab or through HTTP API
workflow_dispatch:
# run nightly at 4:10 AM UTC (11:10 PM US eastern, 8:10 PM US western)
# run on Sunday at 4:10 AM UTC (11:10 PM US eastern, 8:10 PM US western)
schedule:
- cron: '10 4 * * *'
- cron: '10 4 * * 0'

jobs:
sync:
Expand Down

0 comments on commit eb91a42

Please sign in to comment.