name: Kick release off
on:
schedule:
- cron: 0 17 * * 1 # Every Monday at 5
jobs:
kick-release-off:
steps:
- name: Create and push branch release/$
{{
env.VERSION
}}
run: |
git checkout -b "release/$
{{
env.VERSION
}}
"
git config
--
local user.email "
[email protected]"
git config
--
local user.name "CI/CD Automation"
git commit -a -m "Updating version to $
{{
env.VERSION
}}
"
git push
--
set-upstream origin "$BRANCH"
workflow_dispatch:
Leverage
Cron expressions