Skip to content

Commit

Permalink
ci: publish release based on label
Browse files Browse the repository at this point in the history
  • Loading branch information
BobbieGoede committed Aug 27, 2024
1 parent a491407 commit 13715dc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ on:
- '**'
tags:
- '!**'
pull_request_review:
types: [submitted]
pull_request:
branches:
- main
types: [opened, synchronize, labeled, ready_for_review]
branches: [main]
paths-ignore:
- 'docs/**'
- 'playgrounds/**'

jobs:
release:
if: github.event.review.state == 'APPROVED'
if: ${{ !github.event.pull_request.draft && contains(github.event.pull_request.labels.*.name, 'cr-tracked') }}
runs-on: ubuntu-latest

steps:
Expand Down

0 comments on commit 13715dc

Please sign in to comment.