Skip to content

Commit

Permalink
ci: trigger action when PR merged
Browse files Browse the repository at this point in the history
  • Loading branch information
Larvan2 committed Apr 20, 2024
1 parent e2b1b10 commit 1f6dbe4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build-pre-release.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Build Pre-Release
on:
workflow_dispatch:
pull_request:
branches: [main]
types: [closed]

jobs:
BuildPreRelease:
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
Expand Down

0 comments on commit 1f6dbe4

Please sign in to comment.