Skip to content

Commit

Permalink
sync/ci: Assorted fixes (#710)
Browse files Browse the repository at this point in the history
- add `NO_BUILD_SETUP` before calling Envoy ci
- use app auth to push changes

Signed-off-by: Ryan Northey <ryan@synca.io>
  • Loading branch information
phlax authored Jun 4, 2023
1 parent f1ec428 commit 678d460
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/envoy-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,19 @@ jobs:
|| github.actor == 'sync-envoy[bot]'
}}
steps:
- id: appauth
uses: envoyproxy/toolshed/gh-actions/appauth@actions-v0
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@v3
with:
ref: main
fetch-depth: 0
token: ${{ steps.appauth.outputs.value }}

# Checkout the Envoy repo
- name: 'Checkout Repository'
Expand All @@ -41,3 +48,4 @@ jobs:
- run: ci/sync_envoy.sh
env:
ENVOY_SRC_DIR: ../envoy
NO_BUILD_SETUP: 1

0 comments on commit 678d460

Please sign in to comment.