forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (40 loc) · 1020 Bytes
/
envoy-sync.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
41
42
43
44
name: 'Sync downstream'
permissions:
contents: read
on:
push:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
jobs:
sync:
runs-on: ubuntu-22.04
if: >-
${{
github.repository == 'envoyproxy/envoy'
&& (github.event.push
|| !contains(github.actor, '[bot]'))
}}
strategy:
fail-fast: false
matrix:
downstream:
- go-control-plane
- envoy-filter-example
- data-plane-api
- mobile-website
steps:
- uses: envoyproxy/toolshed/gh-actions/appauth@actions-v0.2.27
id: appauth
with:
app_id: ${{ secrets.ENVOY_CI_SYNC_APP_ID }}
key: ${{ secrets.ENVOY_CI_SYNC_APP_KEY }}
- uses: envoyproxy/toolshed/gh-actions/dispatch@actions-v0.2.27
with:
repository: "envoyproxy/${{ matrix.downstream }}"
ref: main
token: ${{ steps.appauth.outputs.token }}
workflow: envoy-sync.yaml