From e06f2aa42021a6230b3842be677bf171d15b8c47 Mon Sep 17 00:00:00 2001 From: rahuls02997 Date: Fri, 25 Oct 2024 11:07:27 +0530 Subject: [PATCH 1/2] skip mend if repo owner is not puppetlabs Revert "test" This reverts commit 6c43dddddcea9d36fdfeec23de4b26cef846bba1. resfs e test test t test --- .github/workflows/mend_ruby.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/mend_ruby.yml b/.github/workflows/mend_ruby.yml index a6a7d1b..bff7cba 100644 --- a/.github/workflows/mend_ruby.yml +++ b/.github/workflows/mend_ruby.yml @@ -23,12 +23,14 @@ env: jobs: mend: + if: github.event.pull_request.head.repo.fork == false runs-on: "ubuntu-latest" continue-on-error: ${{ contains(fromJson('["puppetlabs","puppet-toy-chest"]'), github.repository_owner) != true }} steps: - name: "check requirements" run: | declare -a MISSING + echo "REQUIRE2" for V in ${REQUIRE_SECRETS} ; do [[ -z "${!V}" ]] && MISSING+=($V) done From 03e3359286714e0e073b39a6865037559fce0e03 Mon Sep 17 00:00:00 2001 From: rahuls02997 Date: Mon, 28 Oct 2024 14:16:52 +0530 Subject: [PATCH 2/2] remove test statement --- .github/workflows/mend_ruby.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/mend_ruby.yml b/.github/workflows/mend_ruby.yml index bff7cba..d4fb8ce 100644 --- a/.github/workflows/mend_ruby.yml +++ b/.github/workflows/mend_ruby.yml @@ -30,7 +30,6 @@ jobs: - name: "check requirements" run: | declare -a MISSING - echo "REQUIRE2" for V in ${REQUIRE_SECRETS} ; do [[ -z "${!V}" ]] && MISSING+=($V) done