ci: try another way to disable semantic validation of release prs

This commit is contained in:
Daniel Roe 2023-08-15 08:11:11 +01:00
parent c8cba7a062
commit eff05e1d46
1 changed files with 1 additions and 3 deletions

View File

@ -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: