generated from cheqd/.github
-
Notifications
You must be signed in to change notification settings - Fork 5
37 lines (30 loc) · 732 Bytes
/
dispatch.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
name: "Workflow Dispatch"
on: push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
call-lint:
name: "Lint"
uses: ./.github/workflows/lint.yml
secrets: inherit
call-build:
name: "Build"
uses: ./.github/workflows/build.yml
secrets: inherit
call-test:
name: "Test"
needs: [ call-lint, call-build ]
uses: ./.github/workflows/test.yml
secrets: inherit
call-staging:
name: "Staging"
needs: call-test
uses: ./.github/workflows/staging.yml
secrets: inherit
call-release:
name: "Release"
needs: call-test
if: ${{ github.ref_protected == true }}
uses: ./.github/workflows/release.yml
secrets: inherit