From 9614760fa4b1e64d6cde44e2f296f82aa2952d97 Mon Sep 17 00:00:00 2001 From: Chirag Jain Date: Fri, 9 Feb 2024 17:43:17 +0530 Subject: [PATCH] update workflow --- .github/workflows/data-fetch-push.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/data-fetch-push.yml b/.github/workflows/data-fetch-push.yml index 5de08d0af..75ba9d91c 100644 --- a/.github/workflows/data-fetch-push.yml +++ b/.github/workflows/data-fetch-push.yml @@ -1,9 +1,12 @@ name: Update Stars, Pulls and Downloads From APIs on: - # pull_request: - # branches: - # - main + pull_request: + branches: + - main + push: + branches: + - main schedule: - cron: '*/1 * * * *' # Runs at 8:00 AM every Monday workflow_dispatch: @@ -11,6 +14,7 @@ on: jobs: fetchAndUpdate: runs-on: ubuntu-latest + if: github.actor != 'github-actions[bot]' strategy: matrix: