From ba378e68eae92d34c730d1c9a0731f68373010b3 Mon Sep 17 00:00:00 2001 From: acejilam Date: Mon, 22 Jul 2024 21:52:58 +0800 Subject: [PATCH] over Signed-off-by: acejilam --- .github/workflows/pkr-bld-parallels-x64.yml | 6 ++++-- .github/workflows/pkr-bld-virtualbox-arm64.yml | 5 ++++- .github/workflows/pkr-bld-virtualbox-x64.yml | 5 ++++- .github/workflows/pkr-bld-vmware-arm64.yml | 5 ++++- .github/workflows/pkr-bld-vmware-x64.yml | 5 ++++- 5 files changed, 20 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pkr-bld-parallels-x64.yml b/.github/workflows/pkr-bld-parallels-x64.yml index e1bc3ed9d..19f82e850 100644 --- a/.github/workflows/pkr-bld-parallels-x64.yml +++ b/.github/workflows/pkr-bld-parallels-x64.yml @@ -1,7 +1,9 @@ --- on: - workflow_call: - + push: + branches: ["main"] + pull_request: + branches: ["main"] env: PACKER_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}" # PACKER_LOG: "1" diff --git a/.github/workflows/pkr-bld-virtualbox-arm64.yml b/.github/workflows/pkr-bld-virtualbox-arm64.yml index 0b169f984..8bc108831 100644 --- a/.github/workflows/pkr-bld-virtualbox-arm64.yml +++ b/.github/workflows/pkr-bld-virtualbox-arm64.yml @@ -1,6 +1,9 @@ --- on: - workflow_call: + push: + branches: ["main"] + pull_request: + branches: ["main"] env: PACKER_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/pkr-bld-virtualbox-x64.yml b/.github/workflows/pkr-bld-virtualbox-x64.yml index 07b9120d3..1063cbe38 100644 --- a/.github/workflows/pkr-bld-virtualbox-x64.yml +++ b/.github/workflows/pkr-bld-virtualbox-x64.yml @@ -1,6 +1,9 @@ --- on: - workflow_call: + push: + branches: ["main"] + pull_request: + branches: ["main"] env: PACKER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/pkr-bld-vmware-arm64.yml b/.github/workflows/pkr-bld-vmware-arm64.yml index 409446a50..1a7b55489 100644 --- a/.github/workflows/pkr-bld-vmware-arm64.yml +++ b/.github/workflows/pkr-bld-vmware-arm64.yml @@ -1,6 +1,9 @@ --- on: - workflow_call: + push: + branches: ["main"] + pull_request: + branches: ["main"] env: PACKER_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/pkr-bld-vmware-x64.yml b/.github/workflows/pkr-bld-vmware-x64.yml index 79f67d8b1..523bc23b0 100644 --- a/.github/workflows/pkr-bld-vmware-x64.yml +++ b/.github/workflows/pkr-bld-vmware-x64.yml @@ -1,6 +1,9 @@ --- on: - workflow_call: + push: + branches: ["main"] + pull_request: + branches: ["main"] env: PACKER_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}"