Skip to content

Update bye.proto to include new field #3

Update bye.proto to include new field

Update bye.proto to include new field #3

name: Regenerate Protobuf Files
on:
pull_request:
types: [opened, synchronize]
jobs:
regenerate-protobuf:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.22.0'
- name: Install dependencies
run: |
go install github.com/golang/protobuf/[email protected]
go install google.golang.org/[email protected]
- name: Regenerate protobuf files
run: |
task proto:all
- name: Configure git
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
- name: Commit and push changes
run: |
git add .
git commit -m "Regenerate protobuf files"
git push origin HEAD:${{ github.event.pull_request.head.ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}