-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 1.13 KB
/
commit-development.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
# ------------------------------------------------------------------------------
# Github Workflow to commit to development branch ...
#
# - This pipeline is triggered manually by developers at various times
#
# 1) Run predefined tests for this project in wM.io DEV environment
# - Calls workflow postman-validation to perform tests
#
# 2) If validation successful:
# - Check out development branch
# - Run an export of all dev assets for this project in wM.io
# - Perform a commit/push to git origin for this development branch
#
# ------------------------------------------------------------------------------
name: Commit Development
run-name: Commit Development
on: [workflow_dispatch]
jobs:
Dev-Validation:
uses: HMHansson/ICA-DevOps/.github/workflows/validation-bruno.yml@main
secrets: inherit
with:
environment: Development
Commit:
if: ${{ always() && contains(join(needs.*.result, ','), 'success') }}
needs: [Dev-Validation]
uses: HMHansson/ICA-DevOps/.github/workflows/commit-development.yml@main
secrets: inherit
with:
environment: Development