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

View File

@ -6,8 +6,6 @@ on:
- opened - opened
- edited - edited
- synchronize - synchronize
branches-ignore:
- "v[0-9]*"
permissions: permissions:
contents: read contents: read
@ -17,7 +15,7 @@ jobs:
permissions: permissions:
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs 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 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 runs-on: ubuntu-latest
name: Semantic pull request name: Semantic pull request
steps: steps: