From 677a9015067bdffbb36e0179c6f8bd19746d6b6a Mon Sep 17 00:00:00 2001 From: sdpdeploy <33045904+sdpdeploy@users.noreply.github.com> Date: Fri, 8 Dec 2023 15:59:00 +1100 Subject: [PATCH] Add GitHub Actions workflow files (#211) Co-authored-by: SDP Robot --- .github/workflows/build.yml | 36 ++++++++++++++++++++++++ .github/workflows/dorg_git_sync.yml | 14 +++++++++ .github/workflows/merge_to_reference.yml | 31 ++++++++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 .github/workflows/build.yml create mode 100644 .github/workflows/dorg_git_sync.yml create mode 100644 .github/workflows/merge_to_reference.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..45eee5e --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,36 @@ +name: build + +on: push + +jobs: + set_status_in_progress: + name: set_status_in_progress + if: always() + uses: dpc-sdp/github-actions/.github/workflows/set_status.yml@main + secrets: inherit + with: + context: 'tide_build' + description: 'Tide Build running...' + state: 'pending' + target_url: ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }} + tide_build: + name: tide_build + secrets: inherit + uses: dpc-sdp/github-actions/.github/workflows/tide_build.yml@main + with: + module_build: true + runner: biggy-tide + export_config: + name: export_config + secrets: inherit + uses: dpc-sdp/github-actions/.github/workflows/export_config.yml@main + set_status: + name: set_status + needs: [tide_build] + if: always() + uses: dpc-sdp/github-actions/.github/workflows/set_status.yml@main + secrets: inherit + with: + context: 'tide_build' + description: 'Tide Build' + target_url: ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }} diff --git a/.github/workflows/dorg_git_sync.yml b/.github/workflows/dorg_git_sync.yml new file mode 100644 index 0000000..d831b2c --- /dev/null +++ b/.github/workflows/dorg_git_sync.yml @@ -0,0 +1,14 @@ +name: dorg_git_sync + +on: + push: + branches: + - master + tags: + - '*' + +jobs: + dorg_git_sync: + name: dorg_git_sync + uses: dpc-sdp/github-actions/.github/workflows/dorg_git_sync.yml@main + secrets: inherit diff --git a/.github/workflows/merge_to_reference.yml b/.github/workflows/merge_to_reference.yml new file mode 100644 index 0000000..3c04229 --- /dev/null +++ b/.github/workflows/merge_to_reference.yml @@ -0,0 +1,31 @@ +name: merge_to_reference + +on: + push: + branches: + - develop + +jobs: + set_status_in_progress: + name: set_status_in_progress + if: always() + uses: dpc-sdp/github-actions/.github/workflows/set_status.yml@main + secrets: inherit + with: + context: 'tide_merge_to_reference' + description: 'Merge to reference running...' + state: 'pending' + target_url: ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }} + tide_merge_to_reference: + name: tide_merge_to_reference + uses: dpc-sdp/github-actions/.github/workflows/tide_merge_to_reference.yml@main + set_status: + name: set_status + needs: [tide_merge_to_reference] + if: always() + uses: dpc-sdp/github-actions/.github/workflows/set_status.yml@main + secrets: inherit + with: + context: 'tide_merge_to_reference' + description: 'Merge to reference running...' + target_url: ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }}