mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-13 14:35:14 +02:00
Update Github Action to fix conditionals (#574)
Fix sandbox action from failing on the conditional
This commit is contained in:
parent
43c899bf70
commit
423f8865b8
1 changed files with 9 additions and 9 deletions
18
.github/workflows/deploy-sandbox.yaml
vendored
18
.github/workflows/deploy-sandbox.yaml
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue