json: generate hex escapes when utf8 is not valid, and check that tho… #91
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 downstream' | |
permissions: | |
contents: read | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: true | |
jobs: | |
sync: | |
runs-on: ubuntu-22.04 | |
if: >- | |
${{ | |
github.repository == 'envoyproxy/envoy' | |
&& (github.event.push | |
|| !contains(github.actor, '[bot]')) | |
}} | |
strategy: | |
fail-fast: false | |
matrix: | |
downstream: | |
- go-control-plane | |
- envoy-filter-example | |
- data-plane-api | |
- mobile-website | |
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.yaml |