From c71a6aaf347163b9045c4680ae5928a0d8a7f855 Mon Sep 17 00:00:00 2001 From: Sashwat K Date: Fri, 14 Jun 2024 22:03:48 +0530 Subject: [PATCH] fix: github actions --- .github/workflows/update_go_modules.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/update_go_modules.yml b/.github/workflows/update_go_modules.yml index 341a07a..cb6bb93 100644 --- a/.github/workflows/update_go_modules.yml +++ b/.github/workflows/update_go_modules.yml @@ -1,6 +1,9 @@ name: Update Go Modules on: + push: + branches: + - main schedule: - cron: '0 0 * * *' # Runs every day at midnight workflow_dispatch: # Allows manual triggering of the workflow @@ -41,6 +44,7 @@ jobs: echo "GO_VERSION_UPDATED=true" >> $GITHUB_ENV else echo "GO_VERSION_UPDATED=false" >> $GITHUB_ENV + fi - name: Update Go modules run: |