-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (51 loc) · 1.4 KB
/
integration.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
name: Integration
on:
pull_request:
branches: [main, master, develop, 'releases/**', 'feat/**', 'fix/**']
push:
branches: [main]
paths:
- .github/workflows/integration.yml
- .github/workflows/linter.yml
- .github/workflows/semantic-pr.yml
- .github/workflows/sonar.yml
workflow_dispatch:
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
permissions:
contents: read
statuses: write
pull-requests: write
jobs:
semver:
if: ${{ github.base_ref != '' || github.event_name == 'pull_request' }}
uses: ./.github/workflows/semantic-pr.yml
lint:
uses: ./.github/workflows/mega-linter.yml@main
secrets:
GH_TOKEN: ${{ secrets.GH_PAT }}
# sonar:
# uses: ./.github/workflows/sonar.yml
# secrets:
# SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
# terraform:
# strategy:
# # max-parallel: 1
# fail-fast: false
# matrix:
# working-directory:
# - 'terraform/deployments/dev'
# - 'terraform/deployments/stage'
# - 'terraform/deployments/prod'
# uses: ./.github/workflows/terraform.yml
# with:
# state: cloud
# version: 1.4.4
# working-directory: ${{ matrix.working-directory }}
# format: false
# apply: false
# secrets:
# GH_TOKEN: ${{ secrets.GH_PAT }}
# TF_API_TOKEN: ${{ secrets.TF_API_TOKEN }}