From 913fbd992a282d98f5f6aa5c1a7012468be29127 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Wed, 8 Jan 2025 14:47:28 +0800 Subject: [PATCH] Not sure if this works, try trigger when PRs are merged into main --- .github/workflows/main2prod.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main2prod.yml b/.github/workflows/main2prod.yml index 0f78df2c..46fd92b2 100644 --- a/.github/workflows/main2prod.yml +++ b/.github/workflows/main2prod.yml @@ -1,9 +1,13 @@ -name: Pull Request to `main` from `production` +name: Pull Request into `production` from `main` on: push: branches: - main + pull_request: + types: [closed] + branches: + - main jobs: auto-pull-request: