diff --git a/.github/workflows/update-deps.yml b/.github/workflows/update-deps.yml index 3c440216e..a89629ded 100644 --- a/.github/workflows/update-deps.yml +++ b/.github/workflows/update-deps.yml @@ -4,6 +4,9 @@ on: workflow_dispatch: schedule: - cron: '0 20 * * 4' + pull_request: # Add this to trigger on pull requests as well + branches: + - master # or your main branch name env: GOPROXY: https://proxy.golang.org @@ -71,7 +74,7 @@ jobs: with: find: "FROM golang:${{ steps.current-go-version.outputs.current_go_version }}-bookworm as builder-base" replace: "FROM golang:${{ steps.go-version.outputs.latest_go_version }}-bookworm as builder-base" - path: "Dockerfile" + include: "Dockerfile" - name: Check if Go version was updated id: check-changes