Skip to content

Commit

Permalink
Add GitHub Actions workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
SDP Robot committed Dec 8, 2023
1 parent 4c449a9 commit 4a83119
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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 }}
14 changes: 14 additions & 0 deletions .github/workflows/dorg_git_sync.yml
Original file line number Diff line number Diff line change
@@ -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
31 changes: 31 additions & 0 deletions .github/workflows/merge_to_reference.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit 4a83119

Please sign in to comment.