From 3a7799bdc310779b16668e7342cdc8182b8df094 Mon Sep 17 00:00:00 2001 From: Jing Xu Date: Thu, 12 Sep 2024 17:20:59 -0700 Subject: [PATCH] Update update-deps.yml - Remove path, and use find since path is not supported here - All pull_request so that local test can be triggered. We can remove it later. --- .github/workflows/update-deps.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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