-
-
Notifications
You must be signed in to change notification settings - Fork 0
49 lines (41 loc) · 1.07 KB
/
integration.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
on:
pull_request:
types:
- opened
- reopened
- labeled
- unlabeled
- synchronize
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
pull-requests: write
packages: write
attestations: write
id-token: write
deployments: write
name: Integration
jobs:
lint:
name: Integrate
uses: gitops-ci-cd/.github/.github/workflows/lint.yaml@main
test:
name: Integrate
uses: gitops-ci-cd/.github/.github/workflows/test.yaml@main
bump:
name: Integrate
uses: gitops-ci-cd/.github/.github/workflows/bump.yaml@main
deploy:
if: github.event.action == 'labeled' && github.event.label.name == 'preview' || github.event.action == 'synchronize' && contains(github.event.pull_request.labels.*.name, 'preview')
name: Deploy
uses: gitops-ci-cd/.github/.github/workflows/deploy.yaml@main
with:
environment: preview
build:
needs: deploy
name: Build
uses: gitops-ci-cd/.github/.github/workflows/build.yaml@main