diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 87d71205db..0a0b5adcf0 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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: diff --git a/.github/workflows/run-integration-tests.yml b/.github/workflows/run-integration-tests.yml index 6df17267fc..833f0ae9fa 100644 --- a/.github/workflows/run-integration-tests.yml +++ b/.github/workflows/run-integration-tests.yml @@ -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/metal-action-runner@v0.1.1 @@ -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