Skip to content

Commit

Permalink
build: create preview releases on pr's with preview-release labels
Browse files Browse the repository at this point in the history
  • Loading branch information
sdorra committed Sep 2, 2024
1 parent e906612 commit ced5aa6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/preview-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@ on:
push:
branches:
- main
pull_request:
branches:
- '**'
pull_request_target:
types:
- labeled
- unlabeled

jobs:
build:
if: github.ref == 'refs/heads/main' || contains(github.event.pull_request.labels.*.name, 'preview-release')
name: Create Preview Release
timeout-minutes: 15
runs-on: ubuntu-latest
Expand Down

0 comments on commit ced5aa6

Please sign in to comment.