Update Github Action to fix conditionals (#574)

Fix sandbox action from failing on the conditional
This commit is contained in:
Logan McDonald 2023-05-04 13:59:04 -07:00 committed by GitHub
parent 43c899bf70
commit 423f8865b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,18 +5,18 @@ run-name: Build and deploy developer sandbox for branch ${{ github.head_ref }}
on:
pull_request:
branches:
- 'ik/**'
- 'rjm/**'
- 'jon/**'
- 'sspj/**'
- 'mr/**'
- 'nmb/**'
- 'ab/**'
- 'bl/**'
jobs:
variables:
if: |
startsWith(github.head_ref, 'ik/')
|| startsWith(github.head_ref, 'jon')
|| startsWith(github.head_ref, 'sspj/')
|| startsWith(github.head_ref, 'mr/')
|| startsWith(github.head_ref, 'nmb/')
|| startsWith(github.head_ref, 'ab/')
|| startsWith(github.head_ref, 'bl/')
|| startsWith(github.head_ref, 'rjm/')
outputs:
environment: ${{ steps.var.outputs.environment}}
runs-on: "ubuntu-latest"