From 3f8c4c2c9f116dd3517e60e2be9f52edee269b6b Mon Sep 17 00:00:00 2001 From: juanonsoftware Date: Sun, 20 Jul 2025 18:29:33 +0700 Subject: [PATCH] Update ci-master to run only when PR closed --- .github/workflows/ci-master.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-master.yml b/.github/workflows/ci-master.yml index 448c2db..d80d861 100644 --- a/.github/workflows/ci-master.yml +++ b/.github/workflows/ci-master.yml @@ -1,7 +1,7 @@ name: CI on Master on: - push: - branches: [ master ] +# push: +# branches: [ master ] pull_request: branches: [ master ] types: [ closed ] # Trigger on PR close @@ -10,6 +10,7 @@ on: jobs: create-new-tag: runs-on: ubuntu-latest + if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true steps: - uses: actions/checkout@v4 with: