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: