From dc03ca6fa92cf43feef286748ed6aa01d1c7f344 Mon Sep 17 00:00:00 2001 From: Afsal K Date: Fri, 27 Sep 2024 01:00:52 +0530 Subject: [PATCH] fix(update-example-gallery): resolve create-pr failure issue (#6104) * fix: commit step * fix: commit step * fix: commit step * fix: commit step * fix: commit step * fix: commit step * fix: commit step * fix: commit step * fix: commit step * fix: commit step * fix: commit step * fix: commit step * fix: commit step * fix: commit step * chore: resolve PR comments * fix: remove addition commit and push step --- .github/workflows/update-example-gallery.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/update-example-gallery.yml b/.github/workflows/update-example-gallery.yml index d75ff6adb0..d84bc622ea 100644 --- a/.github/workflows/update-example-gallery.yml +++ b/.github/workflows/update-example-gallery.yml @@ -1,9 +1,9 @@ -name: Update example gallery # Updates examples twice a month +name: Update example gallery # Updates examples once a month on: workflow_dispatch: schedule: - - cron: '0 4 8,22 * *' # Updates will happen every 8th/22nd of the month + - cron: '0 0 15 * *' # At 12:00 AM, on day 15 of the month jobs: check_gallery: @@ -43,7 +43,7 @@ jobs: fi - name: Create pull request - if: steps.up_to_date.outcome == 'failure' + if: failure() && steps.up_to_date.outcome == 'failure' id: create-pr uses: peter-evans/create-pull-request@v4 with: