Skip to content

Commit

Permalink
change to run on pr merge
Browse files Browse the repository at this point in the history
  • Loading branch information
austinlparker committed Nov 28, 2023
1 parent ad4d7cf commit fa6cf6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ jobs:
push: false
version: 'dev'

run_ci:
needs: build_images
if: ${{ needs.build_images.result == 'success' }}
uses: ./.github/workflows/run-integration-tests.yml

markdownlint:
runs-on: ubuntu-latest
steps:
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/run-integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
name: Integration Tests

on:
pull_request_target:
paths:
- 'src/**'
- 'test/**'
workflow_call:
pull_request:
branches:
- main
types: [closed]

jobs:
build_runner:
runs-on: ubuntu-latest
name: "Build Runner"
if: github.event.pull_request.merged == true
steps:
- name: metal-runner-action
uses: equinix-labs/[email protected]
Expand All @@ -30,8 +30,6 @@ jobs:
steps:
- name: check out code
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha}}
- name: run tracetesting
run: |
make run-tracetesting
Expand Down

0 comments on commit fa6cf6d

Please sign in to comment.