From 908fbf66ab77de1e7c598b232594d2402fc4acc0 Mon Sep 17 00:00:00 2001 From: Al Majumdar <88921269+restlessronin@users.noreply.github.com> Date: Fri, 1 Apr 2022 23:11:03 +0530 Subject: [PATCH] re-enable PR builds --- .github/workflows/build_bench.yml | 2 +- .github/workflows/build_stable.yml | 27 +++++++++++++-------------- 2 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/build_bench.yml b/.github/workflows/build_bench.yml index 520c00bb..671377dc 100644 --- a/.github/workflows/build_bench.yml +++ b/.github/workflows/build_bench.yml @@ -36,7 +36,7 @@ jobs: with: targets: bench-test env: - MULTI_ARCH_BUILD: "${{ github.event_name == 'pull_request' }}" + MULTI_ARCH_BUILD: "${{ github.event_name != 'pull_request' }}" - name: Login if: ${{ github.repository == 'frappe/frappe_docker' && github.event_name != 'pull_request' }} diff --git a/.github/workflows/build_stable.yml b/.github/workflows/build_stable.yml index 36ec37be..2795ec60 100644 --- a/.github/workflows/build_stable.yml +++ b/.github/workflows/build_stable.yml @@ -1,20 +1,19 @@ name: Stable build on: - # toggle commenting to run on PR - # pull_request: - # branches: - # - main - # paths: - # - images/nginx/** - # - images/socketio/** - # - images/worker/** - # - overrides/** - # - tests/** - # - compose.yaml - # - docker-bake.hcl - # - example.env - # - .github/workflows/build_stable.yml + pull_request: + branches: + - main + paths: + - images/nginx/** + - images/socketio/** + - images/worker/** + - overrides/** + - tests/** + - compose.yaml + - docker-bake.hcl + - example.env + - .github/workflows/build_stable.yml push: branches: