Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
leanmendoza committed Oct 17, 2023
1 parent f0d0a96 commit 5f1f85b
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 5f1f85b

Please sign in to comment.