diff --git a/.github/workflows/update_librarian_googleapis.yaml b/.github/workflows/update_librarian_googleapis.yaml index 4c88b1513c71..e3afe69f88d1 100644 --- a/.github/workflows/update_librarian_googleapis.yaml +++ b/.github/workflows/update_librarian_googleapis.yaml @@ -74,9 +74,10 @@ jobs: run: | version=$(go run github.com/googleapis/librarian/cmd/librarian@latest config get version) echo "version=${version}" >> $GITHUB_OUTPUT - - name: Run librarian update + - name: Run librarian update & tidy run: | go run "github.com/googleapis/librarian/cmd/librarian@${STEPS_LIBRARIAN_OUTPUTS_VERSION}" update sources.googleapis + go run "github.com/googleapis/librarian/cmd/librarian@${{ steps.librarian.outputs.version }}" tidy env: STEPS_LIBRARIAN_OUTPUTS_VERSION: ${{ steps.librarian.outputs.version }} - name: Get latest commit