-
Notifications
You must be signed in to change notification settings - Fork 114
36 lines (34 loc) · 918 Bytes
/
head-update.yaml
File metadata and controls
36 lines (34 loc) · 918 Bytes
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
name: Build
on:
push:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
pull_request_target:
types:
- labeled
merge_group:
jobs:
build:
if: ${{ github.event_name != 'pull_request_target' || (github.event_name == 'pull_request_target' && github.event.label.name == 'reviewed/ok-to-test') }}
uses: ./.github/workflows/build.yaml
with:
mode: snapshot
secrets: inherit
permissions:
contents: write
packages: write
id-token: write
pull-requests: write
component-descriptor:
if: ${{ github.event_name != 'pull_request_target' || (github.event_name == 'pull_request_target' && github.event.label.name == 'reviewed/ok-to-test') }}
uses: gardener/cc-utils/.github/workflows/post-build.yaml@master
needs:
- build
secrets: inherit
permissions:
id-token: write
contents: write