Skip to content

Commit

Permalink
OPSEXP-2753 Trigger ec2 test when PR label ec2-test is added and on m…
Browse files Browse the repository at this point in the history
…aster branch (#945)
  • Loading branch information
pmacius authored Sep 18, 2024
1 parent 81cb0c6 commit 97095db
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/enteprise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: "enterprise"
on:
pull_request:
branches: [master]
types: [labeled, opened, synchronize, reopened]
paths-ignore:
- "docs/**"
- "*.md"
Expand Down Expand Up @@ -143,9 +144,7 @@ jobs:

ec2:
name: ${{ matrix.molecule_scenario.desc }}
if: github.actor != 'dependabot[bot]'
needs:
- docker_integration
if: github.actor != 'dependabot[bot]' && (contains(github.event.pull_request.labels.*.name, 'ec2-test') || github.ref_name == 'master')
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down

0 comments on commit 97095db

Please sign in to comment.