-
Notifications
You must be signed in to change notification settings - Fork 5
53 lines (45 loc) · 1016 Bytes
/
ci.yml
File metadata and controls
53 lines (45 loc) · 1016 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: CI
on:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+'
pull_request:
types: [opened, synchronize, reopened]
# Allows to run this workflow manually
workflow_dispatch:
permissions:
contents: read
jobs:
prep-release:
uses: ./.github/workflows/release.yml
permissions:
contents: write
security-events: write
build:
needs: prep-release
uses: ./.github/workflows/build.yml
permissions:
contents: write
security-events: write
with:
release_id: ${{ needs.prep-release.outputs.release_id }}
run:
uses: ./.github/workflows/run.yml
permissions:
contents: read
security-events: write
test:
uses: ./.github/workflows/test.yml
permissions:
contents: read
secrets: inherit
docs:
needs: prep-release
uses: ./.github/workflows/docs.yml
permissions:
contents: write
secrets: inherit
with:
release_id: ${{ needs.prep-release.outputs.release_id }}