To create an action ⇒ create a file similar to the file below under .github folder in the repository
name: Action name
# Common ways to start execution
on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
- 'release/*'
workflow_dispatch: # manually
cron: '1 */6 * * 0-4' # Run every 6hrs Sun-Thur
cron: '1 */3 * * 5-6' # Run every 3hrs Fri-Sat