generated from kyma-project/template-repository
-
Notifications
You must be signed in to change notification settings - Fork 19
34 lines (27 loc) · 884 Bytes
/
pull.yaml
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
name: pull
on:
pull_request_target:
types: [ opened, edited, synchronize, reopened, ready_for_review ]
permissions:
id-token: write # This is required for requesting the JWT token
contents: read # This is required for actions/checkout
jobs:
unit-tests:
uses: ./.github/workflows/_unit-tests.yaml
gitleaks:
uses: ./.github/workflows/_gitleaks.yaml
images-verify:
if: github.event.pull_request.base.ref == 'main'
uses: ./.github/workflows/_images-verify.yaml
builds:
uses: ./.github/workflows/_build.yaml
with:
purpose: "dev"
img_directory: "dev"
img_version: PR-${{ github.event.number }}
integrations:
needs: builds
secrets: inherit
uses: ./.github/workflows/_integration-tests.yaml
with:
image: europe-docker.pkg.dev/kyma-project/dev/serverless-operator:PR-${{ github.event.number }}