From 11e99c38f703aa3a8075af2abc409ba99a2620df Mon Sep 17 00:00:00 2001 From: Wes Tarle Date: Mon, 3 Aug 2026 21:20:22 +0000 Subject: [PATCH] fix(ci): pull latest upstream changes after syncing fork in update-apis workflow gh repo fork --clone clones the fork onto disk before gh repo sync --force runs. Since gh repo sync only updates the remote fork on GitHub servers and does not touch the local working directory, add a 'git pull' step so the local checkout updates to the latest synced upstream main immediately. --- .github/workflows/update-apis.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/update-apis.yaml b/.github/workflows/update-apis.yaml index 8da90517e1..1d778a89d1 100644 --- a/.github/workflows/update-apis.yaml +++ b/.github/workflows/update-apis.yaml @@ -16,6 +16,8 @@ jobs: - run: gh repo sync yoshi-code-bot/google-api-nodejs-client-autodisco --force env: GH_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }} + - run: git pull + working-directory: ./google-api-nodejs-client-autodisco - run: npm install working-directory: ./google-api-nodejs-client-autodisco - run: npm run update-disclaimers