fix mergequeue skipped tests (#22)

* fix mergequeue skipped tests

* linter fix
This commit is contained in:
Keepers 2024-02-08 16:36:56 -07:00 committed by GitHub
parent 1752d1117f
commit ddf9285791
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -106,17 +106,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- shell: bash - shell: bash
run: echo "github.ref" run: echo "github.event.merge_queue"
- shell: bash - shell: bash
run: echo ${{ github.ref }} run: echo ${{ github.event.merge_queue }}
- shell: bash
run: echo "github.event.merge_queue.head.repo.full_name"
- shell: bash
run: echo ${{ github.event.merge_queue.head.repo.full_name }}
- shell: bash
run: echo "github.repository"
- shell: bash
run: echo ${{ github.repository }}
# ---------------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------
# --- Website Linting ----------------------------------------------------------------------------------- # --- Website Linting -----------------------------------------------------------------------------------
# ---------------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------
@ -146,15 +138,10 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 120 timeout-minutes: 120
if: | if: |
( startsWith(github.ref, 'refs/tags/')
startsWith(github.ref, 'refs/tags/') || startsWith(github.ref, 'refs/heads/gh-readonly-queue/main')
|| github.ref == 'refs/heads/gh-readonly-queue/main' || github.ref == 'refs/heads/main'
|| github.ref == 'refs/heads/main' || (needs.precheck.outputs.srcfileschanged == 'true' && github.event.pull_request.head.repo.full_name == github.repository)
)
|| (
needs.precheck.outputs.srcfileschanged == 'true'
&& github.event.pull_request.head.repo.full_name == github.repository
)
defaults: defaults:
run: run:
working-directory: src working-directory: src