github actions workflow and scheduling
Working with GitHub actions more seriously recently had lead me to a few conclusions:
- Not all repos need to have an "on push" or "on pull" action.
- Scheduling for submodules is a great way to keep parent repos updated.
- Useful dependent upon whether or not the submodules have breaking dependencies.
- All workflows should have a manual execution option.
- This is good outside solely testing.
Example GitHub Action snippet:
name: Example Action
on:
schedule:
# Run daily at midnight
- cron: '0 0 * * *'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch: