-
-
Notifications
You must be signed in to change notification settings - Fork 874
38 lines (33 loc) · 961 Bytes
/
jira_ci.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
name: ci
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
pull_request:
branches:
- main
jobs:
server:
uses: pycontribs/jira/.github/workflows/jira_server_ci.yml@main
cloud:
needs: server
uses: pycontribs/jira/.github/workflows/jira_cloud_ci.yml@main
secrets:
CLOUD_ADMIN: ${{ secrets.CI_JIRA_CLOUD_ADMIN }}
CLOUD_ADMIN_TOKEN: ${{ secrets.CI_JIRA_CLOUD_ADMIN_TOKEN }}
CLOUD_USER: ${{ secrets.CI_JIRA_CLOUD_USER }}
CLOUD_USER_TOKEN: ${{ secrets.CI_JIRA_CLOUD_USER_TOKEN }}
# 'check' the only job that should be marked as required in
# repository config, so we do not need to change required jobs
# when we add new/remove/rename jobs.
check:
needs:
- cloud
runs-on: ubuntu-latest
steps:
- name: Report success of the test matrix
run: >-
print("All's good")
shell: python