Skip to content

Commit 5f1f85b

Browse files
committed
test
1 parent f0d0a96 commit 5f1f85b

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
types:
88
- created
99

10+
env:
11+
IS_A_PR: ${{ github.event.pull_request.number != 'null' && github.head_ref != 'protocol-squad' }}
12+
1013
name: CI
1114
jobs:
1215
lint:
@@ -107,12 +110,14 @@ jobs:
107110
decentraland_inspector_s3_bucket_key: ${{ steps.publish_decentraland_inspector.outputs.s3-bucket-key }}
108111
decentraland_js_runtime_s3_bucket_key: ${{ steps.publish_dcl_js_runtime.outputs.s3-bucket-key }}
109112
decentraland_ecs_bucket_key: ${{ steps.publish_ecs.outputs.s3-bucket-key }}
110-
env:
111-
IS_A_PR: ${{ github.event.pull_request.number != 'null' && github.head_ref != 'protocol-squad' }}
112113
steps:
113114
- name: (PR) Check if it's a PR
114115
if: ${{ env.IS_A_PR }}
115-
run: echo "run from a PR"
116+
run: |
117+
echo "run from a PR"
118+
echo "from env '${{env.IS_A_PR}}'"
119+
echo "- '${{github.event.pull_request.number}}'"
120+
echo "- env '${{github.head_ref}}'"
116121
- uses: actions/checkout@master
117122
- uses: actions/setup-node@v3
118123
with:

0 commit comments

Comments
 (0)