Skip to content

Convert malformed-yaml action to Python #21

Convert malformed-yaml action to Python

Convert malformed-yaml action to Python #21

name: Python Malformed YAML
on:
pull_request:
types: [opened, edited, reopened, synchronize]
jobs:
test-python-malformed-yaml:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/[email protected]
- name: Detect malformed yaml files
uses: ministryofjustice/github-actions/python-malformed-yaml@mal-yaml-to-python
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.number }}
REPOSITORY_NAME: ${{ github.event.repository.name }}