From eff05e1d467730fd73c971d5433f95ad4a2dd506 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 15 Aug 2023 08:11:11 +0100 Subject: [PATCH] ci: try another way to disable semantic validation of release prs --- .github/workflows/semantic-pull-requests.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/semantic-pull-requests.yml b/.github/workflows/semantic-pull-requests.yml index dde007e107..d000f52cbd 100644 --- a/.github/workflows/semantic-pull-requests.yml +++ b/.github/workflows/semantic-pull-requests.yml @@ -6,8 +6,6 @@ on: - opened - edited - synchronize - branches-ignore: - - "v[0-9]*" permissions: contents: read @@ -17,7 +15,7 @@ jobs: permissions: pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR - if: github.repository == 'nuxt/nuxt' + if: github.repository == 'nuxt/nuxt' && !startsWith(github.head_ref, 'v') runs-on: ubuntu-latest name: Semantic pull request steps: