Skip to content

Commit

Permalink
repo: Sync openssl project on push to main or release/v1.28/31 (#…
Browse files Browse the repository at this point in the history
…34319)


Signed-off-by: Ryan Northey <[email protected]>
  • Loading branch information
phlax authored Sep 12, 2024
1 parent 4ba73c8 commit 7195850
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/envoy-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
push:
branches:
- main
- release/v1.28
- release/v1.31
workflow_dispatch:

concurrency:
Expand All @@ -19,6 +21,7 @@ jobs:
if: >-
${{
github.repository == 'envoyproxy/envoy'
&& (github.ref_name == 'main')
&& (github.event.push
|| !contains(github.actor, '[bot]'))
}}
Expand All @@ -42,3 +45,32 @@ jobs:
ref: main
token: ${{ steps.appauth.outputs.token }}
workflow: envoy-sync.yaml

sync-release:
runs-on: ubuntu-22.04
if: >-
${{
github.repository == 'envoyproxy/envoy'
&& contains(['main', 'release/v1.28', 'release/v1.31'], github.ref_name)
&& (github.event.push
|| !contains(github.actor, '[bot]'))
}}
strategy:
fail-fast: false
matrix:
downstream:
- envoy-openssl
steps:
- uses: envoyproxy/toolshed/gh-actions/[email protected]
id: appauth
with:
app_id: ${{ secrets.ENVOY_CI_SYNC_APP_ID }}
key: ${{ secrets.ENVOY_CI_SYNC_APP_KEY }}
- uses: envoyproxy/toolshed/gh-actions/[email protected]
with:
repository: "envoyproxy/${{ matrix.downstream }}"
ref: main
token: ${{ steps.appauth.outputs.token }}
workflow: envoy-sync-receive.yaml
inputs: |
branch: ${{ github.ref_name }}

0 comments on commit 7195850

Please sign in to comment.