diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9da7aac..244b2ac 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,7 +25,7 @@ jobs: with: { clang-format-version: "18" } test-windows: - if: github.event_name == 'merge_group' + if: (github.event_name == 'pull_request' && github.event.pull_request.user.login == 'renovate[bot]') || (github.event_name == 'merge_group' && github.event.pull_request.user.login != 'renovate[bot]') runs-on: windows-latest steps: - uses: actions/cache@v4 @@ -41,7 +41,7 @@ jobs: working-directory: test test-linux: - if: github.event_name == 'merge_group' + if: (github.event_name == 'pull_request' && github.event.pull_request.user.login == 'renovate[bot]') || (github.event_name == 'merge_group' && github.event.pull_request.user.login != 'renovate[bot]') runs-on: ubuntu-latest steps: - uses: actions/cache@v4