Skip to content

Commit

Permalink
ci: enable nightly releases
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Oct 13, 2024
1 parent b96712c commit c8645e0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/cr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ on:
- 'art/**'
- 'docs/**'
- '*.md'
push:
branches: [main]
paths-ignore:
- '.github/**'
- '__tests__/**'
- 'art/**'
- 'docs/**'
- '*.md'

permissions: {}

Expand All @@ -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:
Expand Down

0 comments on commit c8645e0

Please sign in to comment.