You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
814 B
44 lines
814 B
2 years ago
|
name: Sync Envoy
|
||
|
|
||
|
on:
|
||
|
workflow_dispatch:
|
||
|
|
||
|
concurrency:
|
||
|
group: ${{ github.workflow }}
|
||
|
cancel-in-progress: true
|
||
|
|
||
|
permissions:
|
||
|
contents: read
|
||
|
|
||
|
jobs:
|
||
|
sync:
|
||
|
runs-on: ubuntu-20.04
|
||
|
permissions:
|
||
|
contents: write
|
||
|
if: |
|
||
|
${{
|
||
|
!contains(github.actor, '[bot]')
|
||
|
|| github.actor == 'sync-envoy[bot]'
|
||
|
}}
|
||
|
steps:
|
||
2 years ago
|
# Checkout the repo
|
||
2 years ago
|
- name: 'Checkout Repository'
|
||
|
uses: actions/checkout@v3
|
||
2 years ago
|
with:
|
||
|
ref: main
|
||
|
fetch-depth: 0
|
||
2 years ago
|
|
||
2 years ago
|
# Checkout the Envoy repo
|
||
2 years ago
|
- name: 'Checkout Repository'
|
||
|
uses: actions/checkout@v3
|
||
|
with:
|
||
|
repository: envoyproxy/envoy
|
||
2 years ago
|
ref: main
|
||
2 years ago
|
fetch-depth: 0
|
||
|
path: upstream
|
||
|
|
||
|
- run: mv upstream ../envoy
|
||
2 years ago
|
- run: ci/sync_envoy.sh
|
||
|
env:
|
||
|
ENVOY_SRC_DIR: ../envoy
|