From badcc348ba7572956dfbbd40ea730737f762df17 Mon Sep 17 00:00:00 2001 From: stephen_nwachukwu <43310773+stephennwachukwu@users.noreply.github.com> Date: Mon, 26 Aug 2024 09:10:40 +0100 Subject: [PATCH] Update postman-api-tests.yml --- .github/workflows/postman-api-tests.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/postman-api-tests.yml b/.github/workflows/postman-api-tests.yml index c55520e0..6bfa2707 100644 --- a/.github/workflows/postman-api-tests.yml +++ b/.github/workflows/postman-api-tests.yml @@ -7,11 +7,16 @@ on: jobs: run-newman-tests: + if: github.event.repository.fork == false + environment: + name: "staging" + url: ${{ vars.URL }} + name: Test for staging runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Node.js uses: actions/setup-node@v3