Community Templates: Adding new pipeline template for Azure Databricks. #235
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Template Validation | |
on: | |
pull_request_target: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Validate template | |
id: validate-template | |
uses: ./.github/actions/validate-template | |
with: | |
path: $GITHUB_WORKSPACE | |
- name: Create comment | |
if: ${{ steps.validate-template.outputs.status != 0 && !github.event.pull_request.head.repo.fork }} | |
uses: peter-evans/create-or-update-comment@v1 | |
with: | |
issue-number: ${{ github.event.pull_request.number }} | |
body: ${{ steps.validate-template.outputs.detail }} |