Skip to content

Generate Java Code from plugin-pb #413

Generate Java Code from plugin-pb

Generate Java Code from plugin-pb #413

Workflow file for this run

name: Generate Java Code from plugin-pb
on:
schedule:
- cron: "0 8 * * *"
workflow_dispatch:
jobs:
regen:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '18'
cache: 'gradle'
- name: Validate Gradle wrapper
uses: gradle/wrapper-validation-action@f9c9c575b8b21b6485636a91ffecd10e558c62f6
- name: Generate code
run: |
make clone-proto
make gen-proto
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
# required so the PR triggers workflow runs
token: ${{ secrets.GH_CQ_BOT }}
branch: fix/gen_proto
base: main
title: "fix: Generate Java Code from `plugin-pb`"
commit-message: "fix: Generate Java Code from `plugin-pb`"
body: This PR was created by a scheduled workflow to regenerate the Java code from `plugin-pb`.
author: cq-bot <cq-bot@users.noreply.github.com>
labels: automerge