The goal here is to ensure that Bluehawked files use valid tags via CI/CD in a reusable way.
The action should accept the path for a file or directory and run bluehawk check on it.
If the command exits without reporting an error, then the action succeeds.
Otherwise, the action fails and reports the errors in the GHA stdout.
name: All Bluehawk Examples Use Valid Tags
on:
pull_request:
paths:
- "examples/**"
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: mongodb-university/bluehawk/github-actions/check@main
with:
path: "examples/**"
The goal here is to ensure that Bluehawked files use valid tags via CI/CD in a reusable way.
The action should accept the path for a file or directory and run
bluehawk checkon it.If the command exits without reporting an error, then the action succeeds.
Otherwise, the action fails and reports the errors in the GHA stdout.