Skip to content

Commit

Permalink
Regularly check for updates in Buf dependencies (#1772)
Browse files Browse the repository at this point in the history
  • Loading branch information
hariso authored Aug 14, 2024
1 parent 53d0bd2 commit d4e6177
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/buf-update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "Run 'buf update'"

on:
workflow_dispatch:
schedule:
- cron: '30 10 * * 1'

jobs:
update-buf-dependencies:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4

- name: Run 'buf update'
run: |
export PATH=$PATH:$(go env GOPATH)/bin
make install-tools proto-update
- name: Create pull request
uses: peter-evans/[email protected]
with:
title: Update Buf dependencies
body: Automatic pull request for updating Buf dependencies
branch: update-buf-dependencies
commit-message: "[automated] Update Buf dependencies"

0 comments on commit d4e6177

Please sign in to comment.