Skip to content

Commit

Permalink
rename + add in new commit status trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie McBride authored and Charlie McBride committed Nov 9, 2023
1 parent 5789ed1 commit ec0645d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: TriggerBranchE2EMatrix
name: BranchE2EMatrixTrigger
on:
pull_request_review:
types: [submitted]
Expand All @@ -11,7 +11,7 @@ jobs:
if: startsWith(github.event.review.body, '/branch-e2e')
uses: ./.github/workflows/e2e-matrix.yaml
with:
git_ref: ""
git_ref: ${{ github.event.review.commit_id }}
secrets:
E2E_CLIENT_ID: ${{ secrets.E2E_CLIENT_ID }}
E2E_TENANT_ID: ${{ secrets.E2E_TENANT_ID }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
AZURE_SUBSCRIPTION_ID: ${{ secrets.E2E_SUBSCRIPTION_ID }}
steps:
- uses: actions/checkout@v3
- if: always() && github.event_name == 'workflow_run'
- if: always() && (github.event_name == 'workflow_run' || github.event_name == 'pull_request_review')
uses: ./.github/actions/commit-status/start
with:
name: ${{ github.workflow }} / e2e (${{ inputs.suite }})
Expand Down Expand Up @@ -128,7 +128,7 @@ jobs:
resource_group: ${{ env.RG_NAME }}
cluster_name: ${{ env.CLUSTER_NAME }}
acr_name: ${{ env.ACR_NAME }}
- if: always() && github.event_name == 'workflow_run'
- if: always() && (github.event_name == 'workflow_run' || github.event_name == 'pull_request_review')
uses: ./.github/actions/commit-status/end
with:
name: ${{ github.workflow }} / e2e (${{ inputs.suite }})
Expand Down

0 comments on commit ec0645d

Please sign in to comment.