|
|
|
@ -13,6 +13,14 @@ on:
|
|
|
|
|
- 'art/**'
|
|
|
|
|
- 'docs/**'
|
|
|
|
|
- '*.md'
|
|
|
|
|
push:
|
|
|
|
|
branches: [main]
|
|
|
|
|
paths-ignore:
|
|
|
|
|
- '.github/**'
|
|
|
|
|
- '__tests__/**'
|
|
|
|
|
- 'art/**'
|
|
|
|
|
- 'docs/**'
|
|
|
|
|
- '*.md'
|
|
|
|
|
|
|
|
|
|
permissions: {}
|
|
|
|
|
|
|
|
|
@ -22,7 +30,7 @@ concurrency:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
release:
|
|
|
|
|
if: ${{ !github.event.pull_request.draft && contains(github.event.pull_request.labels.*.name, 'cr-tracked') && !contains(github.event.pull_request.labels.*.name, 'spam') && !contains(github.event.pull_request.labels.*.name, 'invalid') }}
|
|
|
|
|
if: ${{ ((github.event_name == 'pull_request' && !github.event.pull_request.draft && contains(github.event.pull_request.labels.*.name, 'cr-tracked') && !contains(github.event.pull_request.labels.*.name, 'spam') && !contains(github.event.pull_request.labels.*.name, 'invalid')) || (github.event_name == 'push')) && github.repository == 'vuejs/vitepress' }}
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
|
|
steps:
|
|
|
|
|