From ea5cfdcaf7c17743369eb77fcad4a87e2bab0516 Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Thu, 20 Jun 2024 08:53:16 -0700 Subject: [PATCH 1/3] chore: exception for renovate bot --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9da7aac..60cdf09 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 == 'merge_group' || github.event.pull_request.user.login == 'renovate' 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 == 'merge_group' || github.event.pull_request.user.login == 'renovate' runs-on: ubuntu-latest steps: - uses: actions/cache@v4 From f65264ac464a9da94516c3f4c706b322109476ee Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Thu, 20 Jun 2024 09:17:03 -0700 Subject: [PATCH 2/3] chore: fr fr renovate exception --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 60cdf09..cea0da5 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' || github.event.pull_request.user.login == 'renovate' + 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' || github.event.pull_request.user.login == 'renovate' + 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 From 023461f859d90557de3736880250dd9a180a6c43 Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Thu, 20 Jun 2024 09:19:02 -0700 Subject: [PATCH 3/3] fix: syntax error in workflow --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cea0da5..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 == 'pull_request' && github.event.pull_request.user.login == 'renovate[bot]') || (github.event_name == 'merge_group' && github.event.pull_request.user.login != 'renovate[bot]) + 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 == 'pull_request' && github.event.pull_request.user.login == 'renovate[bot]') || (github.event_name == 'merge_group' && github.event.pull_request.user.login != 'renovate[bot]) + 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