-
Notifications
You must be signed in to change notification settings - Fork 559
56 lines (47 loc) · 1.29 KB
/
envoy-sync.yaml
File metadata and controls
56 lines (47 loc) · 1.29 KB
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
45
46
47
48
49
50
51
52
53
54
55
56
name: Sync Envoy
on:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
permissions:
contents: read
jobs:
sync:
runs-on: ubuntu-22.04
permissions:
contents: write
if: |
${{
!contains(github.actor, '[bot]')
|| github.actor == 'sync-envoy[bot]'
}}
steps:
- id: appauth
uses: envoyproxy/toolshed/actions/appauth@598eacce15ab5f208102a2fd5669292868002701 # actions-v0.4.0
with:
key: ${{ secrets.ENVOY_CI_UPDATE_BOT_KEY }}
app_id: ${{ secrets.ENVOY_CI_UPDATE_APP_ID }}
# Checkout the repo
- name: 'Checkout Repository'
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: main
fetch-depth: 0
token: ${{ steps.appauth.outputs.token }}
# Checkout the Envoy repo
- name: 'Checkout Repository'
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: envoyproxy/envoy
ref: main
fetch-depth: 0
path: upstream
- run: mv upstream ../envoy
- name: Install libtinfo5
run: |
sudo apt-get update
sudo apt-get install -y libtinfo5
- run: ci/sync_envoy.sh
env:
ENVOY_SRC_DIR: ../envoy