-
-
Notifications
You must be signed in to change notification settings - Fork 141
40 lines (35 loc) · 951 Bytes
/
Copy pathci.yml
File metadata and controls
40 lines (35 loc) · 951 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
name: CI
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
on:
pull_request:
branches: [master]
push:
branches: [master]
workflow_dispatch:
permissions:
contents: read
pull-requests: read
jobs:
module-ci:
uses: AtlassianPS/AtlassianPS.Standards/.github/workflows/module_ci.yml@347ded1033c302cf6dbbd8c614aefe2477121ab0 # v0.4.0
with:
build-profile: jiraps
smoke-profile: jira
secrets: inherit
ci-required:
name: CI Result
if: always()
needs: module-ci
runs-on: ubuntu-latest
steps:
- name: Require the reusable CI pipeline
shell: bash
env:
PIPELINE_RESULT: ${{ needs.module-ci.result }}
run: |
if [[ "$PIPELINE_RESULT" != "success" ]]; then
echo "::error::Module CI finished with result: $PIPELINE_RESULT"
exit 1
fi