forked from envoyproxy/java-control-plane
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (37 loc) · 1.27 KB
/
update-protobuf.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: update-protobuf
permissions:
contents: read
on:
workflow_call:
inputs:
envoy_version:
description: 'Envoy version to update to'
required: true
type: string
jobs:
update-protobuf:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Run scripts
working-directory: ./tools/
run: |
./update-sha.sh ${{ inputs.envoy_version }} | tee API_SHAS
./update-api.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
with:
branch: update-protobuf-to-${{ inputs.envoy_version }}
base: main
author: envoy-bot <[email protected]>
committer: envoy-bot <[email protected]>
signoff: true
title: '[protobuf] Update protobuf definitions to ${{ inputs.envoy_version }}'
commit-message: |
[protobuf] Update protobuf definitions to ${{ inputs.envoy_version }}
body: |
This is an automatic PR created by github action workflow:
- Updated protobuf files