Skip to content

Commit

Permalink
Case RE-851: Only run OpenStack GitHub Action when TestSuite Completes
Browse files Browse the repository at this point in the history
Changelog:
  • Loading branch information
davelcpanelnet committed Sep 26, 2024
1 parent 572aeb8 commit 3c333b7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/openstack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ on:
- "*"
pull_request:
workflow_dispatch:
workflow_run:
workflows: [testsuite]
branches: [main]
types:
- completed

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand Down Expand Up @@ -559,4 +564,4 @@ jobs:
name: ${{ github.run_id }}-tf.out.json
path: ${{ github.workspace }}/tf.out.json
- name: Destroy OpenStack VM
run: terraform destroy -no-color -auto-approve
run: terraform destroy -no-color -auto-approve
4 changes: 4 additions & 0 deletions .github/workflows/testsuite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
testsuite:
env:
Expand Down

0 comments on commit 3c333b7

Please sign in to comment.