Skip to content

Commit bc3b97d

Browse files
authored
temporarily introduce a github action that can be (envoyproxy#231)
run manually via Github web UI and that updates the Envoy API to a given version. This is needed to update to v1.22.0. Signed-off-by: rulex123 <[email protected]>
1 parent 3c61d06 commit bc3b97d

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: update-protobuf
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
envoy_version:
6+
description: 'Envoy version to update to'
7+
required: true
8+
type: string
9+
10+
jobs:
11+
update-protobuf:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v2
15+
- name: Run scripts
16+
working-directory: ./tools/
17+
run: |
18+
./update-sha.sh ${{ github.event.inputs.envoy_version }} | tee API_SHAS
19+
./update-api.sh
20+
- name: Create Pull Request
21+
uses: peter-evans/create-pull-request@v3
22+
with:
23+
branch: update-protobuf-to-${{ github.event.inputs.envoy_version }}
24+
base: main
25+
author: envoy-bot <[email protected]>
26+
committer: envoy-bot <[email protected]>
27+
signoff: true
28+
title: '[protobuf] Update protobuf definitions to ${{ github.event.inputs.envoy_version }}'
29+
commit-message: |
30+
[protobuf] Update protobuf definitions to ${{ github.event.inputs.envoy_version }}
31+
body: |
32+
This is an automatic PR created by github action workflow:
33+
- Updated protobuf files

0 commit comments

Comments
 (0)