From 39cfd3b04a04cf1e2be31884493a961701169649 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Tue, 28 Jan 2025 12:10:40 -0500 Subject: [PATCH] Allow manually running integration tests with workflow_dispatch --- .github/workflows/integration.yml | 2 +- .github/workflows/unit.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index efed5320e..3efd84d30 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -17,7 +17,7 @@ concurrency: jobs: integration: - if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name && github.actor != 'dependabot[bot]' }} + if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name && github.actor != 'dependabot[bot]' }} strategy: fail-fast: false matrix: diff --git a/.github/workflows/unit.yml b/.github/workflows/unit.yml index 3585ca106..9e9dea492 100644 --- a/.github/workflows/unit.yml +++ b/.github/workflows/unit.yml @@ -43,7 +43,7 @@ jobs: run: 'npm run lint' # There's no need to run the linter for each operating system, since it # will find the same thing 3x and clog up the PR review. - if: ${{matrix.os == 'ubuntu-latest'}} + if: ${{ matrix.os == 'ubuntu-latest' }} - name: 'test' run: 'npm test'