create-tag: Fix upstream release schedule

We're counting the even and odd weeks since the Unix epoch, so this
doesn't match the odd/even calendar weeks. Consequently let's switch to
odd weeks for composer.
This commit is contained in:
Simon Steinbeiss 2022-03-23 11:27:10 +01:00 committed by Ondřej Budai
parent d11a2f3bc7
commit 86bf942780

View file

@ -4,7 +4,7 @@ name: "Create and push release tag"
on:
workflow_dispatch:
schedule:
- cron: "0 10 * * 3"
- cron: "0 11 * * 3"
jobs:
tag-and-push:
@ -17,7 +17,7 @@ jobs:
- name: Upstream tag
uses: osbuild/release-action@create-tag
if: ${{ env.WEEK == 'even' }}
if: ${{ env.WEEK == 'odd' }}
with:
token: "${{ secrets.SCHUTZBOT_GITHUB_ACCESS_TOKEN }}"
username: "imagebuilder-bot"