Skip to content

Commit

Permalink
add malformed-yaml.yml to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianEllwood committed May 2, 2024
1 parent edc2d08 commit 4eab976
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/malformed-yaml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
on:
pull_request:
types: [opened, edited, reopened, synchronize]

jobs:
reject-malformed-yaml:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
- uses: actions/checkout@v4.1.2
- name: Detect malformed YAML files
- uses: ministryofjustice/github-actions/malformed-yaml@v18.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.number }}

0 comments on commit 4eab976

Please sign in to comment.