From 5f1f85b47130e307ed8b5d0396d1cbb21c5f50e8 Mon Sep 17 00:00:00 2001 From: Lean Mendoza Date: Tue, 17 Oct 2023 15:06:16 -0300 Subject: [PATCH] test --- .github/workflows/ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 80b0576a5..b8313002e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,9 @@ on: types: - created +env: + IS_A_PR: ${{ github.event.pull_request.number != 'null' && github.head_ref != 'protocol-squad' }} + name: CI jobs: lint: @@ -107,12 +110,14 @@ jobs: decentraland_inspector_s3_bucket_key: ${{ steps.publish_decentraland_inspector.outputs.s3-bucket-key }} decentraland_js_runtime_s3_bucket_key: ${{ steps.publish_dcl_js_runtime.outputs.s3-bucket-key }} decentraland_ecs_bucket_key: ${{ steps.publish_ecs.outputs.s3-bucket-key }} - env: - IS_A_PR: ${{ github.event.pull_request.number != 'null' && github.head_ref != 'protocol-squad' }} steps: - name: (PR) Check if it's a PR if: ${{ env.IS_A_PR }} - run: echo "run from a PR" + run: | + echo "run from a PR" + echo "from env '${{env.IS_A_PR}}'" + echo "- '${{github.event.pull_request.number}}'" + echo "- env '${{github.head_ref}}'" - uses: actions/checkout@master - uses: actions/setup-node@v3 with: