Sync Envoy #3594
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync Envoy | |
on: | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }} | |
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/gh-actions/[email protected] | |
with: | |
key: ${{ secrets.ENVOY_CI_UPDATE_BOT_KEY }} | |
app_id: ${{ secrets.ENVOY_CI_UPDATE_APP_ID }} | |
# Checkout the Envoy repo | |
- name: 'Checkout Repository' | |
uses: actions/checkout@v4 | |
with: | |
repository: envoyproxy/envoy | |
ref: main | |
path: envoy | |
# Checkout the repo | |
- name: 'Checkout Repository' | |
uses: actions/checkout@v4 | |
with: | |
ref: main | |
token: ${{ steps.appauth.outputs.token }} | |
path: mobile-website | |
- run: | | |
cd mobile-website | |
./sync_envoy.sh | |
env: | |
ENVOY_SRC_DIR: ../envoy | |
COMMITTER_NAME: "update-envoy[bot]" | |
COMMITTER_EMAIL: "135279899+update-envoy[bot]@users.noreply.github.com" |