-
Notifications
You must be signed in to change notification settings - Fork 45
39 lines (34 loc) · 1 KB
/
request.yml
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
# This file must live on every branch and pass necessary secrets and permissions
# to initiate the request
name: Request
permissions:
contents: read
on:
pull_request_target:
push:
branches:
- main
- release/v*
concurrency:
group: |
${{ github.head_ref
|| github.run_id
}}-${{ github.workflow }}-request
cancel-in-progress: true
jobs:
request:
# For branches this can be pinned to a specific version if required
# NB: `uses` cannot be dynamic so it _must_ be hardcoded anywhere it is read
uses: envoyproxy/envoy/.github/workflows/_request.yml@main
if: ${{ vars.ENVOY_CI || github.repository == 'envoyproxy/envoy' }}
permissions:
actions: read
contents: read
# required for engflow/bazel caching (not yet used)
packages: read
# required to fetch merge commit
pull-requests: read
secrets:
# these are required to start checks
app-key: ${{ secrets.ENVOY_CI_APP_KEY }}
app-id: ${{ secrets.ENVOY_CI_APP_ID }}