From cdb77787e4d2456a8191db69e6824b5490c54409 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciar=C3=A1n=20Ainsworth?= Date: Mon, 26 Feb 2024 20:10:30 +0100 Subject: [PATCH] Don't run checks on renovate PRs --- .github/workflows/check_links.yml | 2 +- .github/workflows/typos.yml | 2 +- .github/workflows/vale.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check_links.yml b/.github/workflows/check_links.yml index b89e204002..8e9a4e747e 100644 --- a/.github/workflows/check_links.yml +++ b/.github/workflows/check_links.yml @@ -7,7 +7,7 @@ on: workflow_dispatch: jobs: check-links: - if: ${{ github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'pull_request' }} && startsWith(github.head_ref, 'renovate/') == false runs-on: ubuntu-22.04 steps: - name: Waiting for 200 from the Vercel Preview diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml index 2444e32418..a797b28989 100644 --- a/.github/workflows/typos.yml +++ b/.github/workflows/typos.yml @@ -5,7 +5,7 @@ jobs: typos: name: Spell Check with Typos runs-on: ubuntu-latest - if: startsWith(github.head_ref, 'smartling') == false + if: startsWith(github.head_ref, 'smartling') == false || startsWith(github.head_ref, 'renovate/') == false steps: - name: Checkout Actions Repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 diff --git a/.github/workflows/vale.yml b/.github/workflows/vale.yml index 7a30c54ffc..a9a14b2980 100644 --- a/.github/workflows/vale.yml +++ b/.github/workflows/vale.yml @@ -5,7 +5,7 @@ jobs: vale: name: Run Vale runs-on: ubuntu-latest - if: startsWith(github.head_ref, 'smartling') == false + if: startsWith(github.head_ref, 'smartling') == false || startsWith(github.head_ref, 'renovate/') == false steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 - uses: errata-ai/vale-action@reviewdog