Skip to content

skip pull-request event for dependabot[bot] user #31

skip pull-request event for dependabot[bot] user

skip pull-request event for dependabot[bot] user #31

name: TEST
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
pull_request_target:
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

Check failure on line 15 in .github/workflows/test-sample-apps.yml

View workflow run for this annotation

GitHub Actions / TEST

Invalid workflow file

The workflow is not valid. .github/workflows/test-sample-apps.yml (Line: 15, Col: 5): Unexpected value 'uses' .github/workflows/test-sample-apps.yml (Line: 16, Col: 5): Unexpected value 'secrets'
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
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 }}