mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2026-05-09 18:11:26 +08:00
ci: trigger action when PR merged
This commit is contained in:
4
.github/workflows/build-pre-release.yaml
vendored
4
.github/workflows/build-pre-release.yaml
vendored
@@ -1,9 +1,13 @@
|
|||||||
name: Build Pre-Release
|
name: Build Pre-Release
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
pull_request:
|
||||||
|
branches: [main]
|
||||||
|
types: [closed]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
BuildPreRelease:
|
BuildPreRelease:
|
||||||
|
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
|
|||||||
Reference in New Issue
Block a user