From cd4b29e54ed8e0654d555fccdef145a2c4343494 Mon Sep 17 00:00:00 2001 From: Peter Ebden Date: Fri, 31 Jul 2026 15:14:23 +0100 Subject: [PATCH 1/2] Add Github Action to also sync third_party/go/BUILD with changes from Dependabot --- .github/workflows/dependabot-sync.yml | 28 +++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/dependabot-sync.yml diff --git a/.github/workflows/dependabot-sync.yml b/.github/workflows/dependabot-sync.yml new file mode 100644 index 0000000000..247268ab09 --- /dev/null +++ b/.github/workflows/dependabot-sync.yml @@ -0,0 +1,28 @@ +name: Dependabot Build Sync + +on: + pull_request: + types: [opened, synchronize] + +jobs: + sync-build-files: + runs-on: ubuntu-latest + if: github.actor == 'dependabot[bot]' + + permissions: + contents: write + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.ref }} + + - name: Run puku sync + run: | + ./pleasew puku sync + + - name: Commit and push changes + uses: stefanzweifel/git-auto-commit-action@4b4693c596717de5c939cfa92b1b0b5c8676537f + with: + commit_message: "sync third_party/go/BUILD with go.mod" From 060ac67b26708796ef3788a0360713c62ac3d7b3 Mon Sep 17 00:00:00 2001 From: Peter Ebden Date: Thu, 13 Aug 2026 14:52:10 +0100 Subject: [PATCH 2/2] v7 --- .github/workflows/dependabot-sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-sync.yml b/.github/workflows/dependabot-sync.yml index 247268ab09..9a430aac3b 100644 --- a/.github/workflows/dependabot-sync.yml +++ b/.github/workflows/dependabot-sync.yml @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v7 with: ref: ${{ github.event.pull_request.head.ref }}