diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5050823803..8131ca954f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,6 @@ on: pull_request: branches: - 2.x - - "!v[0-9]*" # Remove default permissions of GITHUB_TOKEN for security # https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs @@ -20,7 +19,6 @@ concurrency: jobs: setup: runs-on: ubuntu-latest - if: github.event_name == 'push' steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 6449c72af9..32f1fba6fa 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -7,7 +7,6 @@ on: pull_request: branches: - 2.x - - "!v[0-9]*" # Remove default permissions of GITHUB_TOKEN for security # https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs @@ -20,7 +19,6 @@ concurrency: jobs: setup: runs-on: ${{ matrix.os }} - if: github.event_name == 'push' strategy: matrix: