mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2025-04-03 13:53:34 +03:00
ci: trigger action when PR merged
This commit is contained in:
parent
e2b1b10d33
commit
1f6dbe4278
1 changed files with 4 additions and 0 deletions
4
.github/workflows/build-pre-release.yaml
vendored
4
.github/workflows/build-pre-release.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue