Skip to content

Commit

Permalink
Trigger on merged PR with label "Release". (#208)
Browse files Browse the repository at this point in the history
  • Loading branch information
robinjhuang authored Nov 8, 2024
1 parent 834aa5c commit f6dbbb5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/publish_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@ name: Publish All Platforms

on:
workflow_dispatch:
pull_request:
types: [closed]

jobs:
build-stage-to-todesktop:
if: |
github.event_name == 'workflow_dispatch' ||
(github.event.pull_request.merged == true &&
contains(github.event.pull_request.labels.*.name, 'Release'))
runs-on: windows-latest
steps:
- name: Github checkout
Expand Down

0 comments on commit f6dbbb5

Please sign in to comment.