From c953f902ca78bc331613b183e96b7f44ca5f16b8 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Tue, 30 May 2023 11:50:00 +0300 Subject: [PATCH] chore(github): Updated new release cron schedule - Updated cron schedule to match better my timezone. - Added check for 'Create release' step --- .github/workflows/new-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/new-release.yml b/.github/workflows/new-release.yml index ca137ff..4ec7fa0 100644 --- a/.github/workflows/new-release.yml +++ b/.github/workflows/new-release.yml @@ -4,7 +4,7 @@ name: Release Daily State # Workflow name displayed on GitHub on: workflow_dispatch: # Trigger manually schedule: - - cron: "59 23 * * *" + - cron: "30 20 * * *" # UTC is 2-3 hours behind Europe/Helsinki, my timezone permissions: contents: write @@ -31,6 +31,7 @@ jobs: config_file: .github/tag-changelog-config.js - name: Create release + if: steps.daily-version.outputs.created uses: actions/create-release@latest env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}