-
Notifications
You must be signed in to change notification settings - Fork 95
38 lines (32 loc) · 939 Bytes
/
main.yaml
File metadata and controls
38 lines (32 loc) · 939 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
37
38
name: CI
permissions:
contents: read
on:
push:
branches: ['**']
pull_request:
branches: ['**']
jobs:
build:
uses: ./.github/workflows/build.yaml
check:
needs: build
uses: ./.github/workflows/check.yaml
test-demo-projects:
needs: [build, check]
uses: ./.github/workflows/test-demo-projects.yaml
secrets: inherit
test-integration:
needs: [build, check, test-demo-projects]
uses: ./.github/workflows/test-integration.yaml
secrets: inherit
release:
if: github.event_name == 'push' && (contains(fromJSON('["refs/heads/master", "refs/heads/beta", "refs/heads/canary", "refs/heads/dev"]'), github.ref) || endsWith(github.ref, '.x'))
needs: [build, check, test-demo-projects, test-integration]
permissions:
contents: write
id-token: write
actions: read
uses: ./.github/workflows/release.yaml
secrets:
VAULT_URL: ${{ secrets.VAULT_URL }}