Skip to content

Update the brackets #228

Update the brackets

Update the brackets #228

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 }}