-
Notifications
You must be signed in to change notification settings - Fork 6
35 lines (33 loc) · 1.16 KB
/
test-sample-apps.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: TEST
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
pull_request_target:
types: [ opened, synchronize, reopened ]
jobs:
pull-request-event:
if: (github.event_name == 'pull_request') && (github.actor != 'dependabot[bot]')
concurrency: test-landscape
environment: cf_env
uses: ./.github/workflows/reusable-deploy-workflow.yml@fix-workflow-condition
secrets:
CF_API: ${{ secrets.CF_API }}
CF_DOMAIN: ${{ secrets.CF_DOMAIN }}
CF_USERNAME: ${{ secrets.CF_USERNAME }}
CF_PASSWORD: ${{ secrets.CF_PASSWORD }}
CF_ORG: ${{ secrets.CF_ORG }}
CF_SPACE: ${{ secrets.CF_SPACE }}
pull-request-target-event:
if: (github.event_name == 'pull_request_target') && (github.actor == 'dependabot[bot]')
concurrency: test-landscape
environment: cf_env
uses: ./.github/workflows/reusable-deploy-workflow.yml@fix-workflow-condition
secrets:
CF_API: ${{ secrets.CF_API }}
CF_DOMAIN: ${{ secrets.CF_DOMAIN }}
CF_USERNAME: ${{ secrets.CF_USERNAME }}
CF_PASSWORD: ${{ secrets.CF_PASSWORD }}
CF_ORG: ${{ secrets.CF_ORG }}
CF_SPACE: ${{ secrets.CF_SPACE }}