Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish a GHA that runs bluehawk check #140

Open
nlarew opened this issue Apr 26, 2023 · 0 comments
Open

Publish a GHA that runs bluehawk check #140

nlarew opened this issue Apr 26, 2023 · 0 comments

Comments

@nlarew
Copy link
Contributor

nlarew commented Apr 26, 2023

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/**"
@nlarew nlarew added this to Bluehawk Apr 26, 2023
@nlarew nlarew converted this from a draft issue Apr 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant