From 6e3e5edac2c7ece47c47fab63fd47cc5b81ea91f Mon Sep 17 00:00:00 2001 From: Javier Evans Date: Sat, 13 Jan 2024 10:17:16 -0800 Subject: [PATCH] re-add rule to push only on the master or main branch --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e355db69..f7bed9dc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -229,9 +229,9 @@ jobs: runs-on: ubuntu-22.04 needs: [test-oss, test-latest-njs, test-unprivileged] - # if: | - # github.ref == 'refs/heads/master' || - # github.ref == 'refs/heads/main' + if: | + github.ref == 'refs/heads/master' || + github.ref == 'refs/heads/main' services: registry: image: registry:2