Skip to content

Commit

Permalink
Add opex workflows for trial system
Browse files Browse the repository at this point in the history
  • Loading branch information
datalek committed Jul 25, 2024
1 parent 4730928 commit bfd930d
Show file tree
Hide file tree
Showing 2 changed files with 54 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/opex_api_trial_system.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Opex Dashboard api_trial_system

on:
push:
branches:
- master
paths:
- 'openapi/generated/api_trial_system.yaml'
- '.github/workflows/opex_api_trial_system.yml'
- '.opex/api_trial_system/**'

workflow_dispatch:

concurrency:
group: ${{ github.workflow }}

jobs:
apply:
uses: ./.github/workflows/call_opex_api.yml
name: Apply changes to Production
secrets: inherit
with:
api_name: api_trial_system
31 changes: 31 additions & 0 deletions .github/workflows/pr_opex_api_trial_system.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: PR - Opex Dashboard api_trial_system

on:
pull_request:
types:
- opened
- edited
- synchronize
- reopened
branches:
- master
paths:

- 'openapi/generated/api_trial_system.yaml'
- '.github/workflows/pr_opex_api_trial_system.yml'
- '.github/workflows/opex_api_trial_system.yml'
- '.opex/api_trial_system/**'

workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: false

jobs:
plan:
uses: ./.github/workflows/call_pr_opex_api.yml
name: Plan changes against Production
secrets: inherit
with:
api_name: api_trial_system

0 comments on commit bfd930d

Please sign in to comment.