diff --git a/.github/workflows/dependabot-go-mod-tidy.yml b/.github/workflows/dependabot-make-presubmit.yml similarity index 81% rename from .github/workflows/dependabot-go-mod-tidy.yml rename to .github/workflows/dependabot-make-presubmit.yml index 1654c10b..44318c91 100644 --- a/.github/workflows/dependabot-go-mod-tidy.yml +++ b/.github/workflows/dependabot-make-presubmit.yml @@ -1,10 +1,12 @@ -name: Dependabot Go Mod Tidy +name: Dependabot Make Presubmit on: pull_request: paths: - 'go.mod' - 'go.sum' + - 'test/go.mod' + - 'test/go.sum' permissions: contents: write @@ -26,9 +28,9 @@ jobs: with: go-version: '1.x' - - name: Run go mod tidy + - name: Run make presubmit run: | - go mod tidy + make presubmit - name: Check for changes id: git-check @@ -45,6 +47,6 @@ jobs: run: | git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" git config --local user.name "github-actions[bot]" - git add go.mod go.sum - git commit -m "Run go mod tidy for Dependabot PR" + git add go.mod go.sum test/go.mod test/go.sum + git commit -m "Run make presubmit for Dependabot PR" git push