Skip to content

Publish a GHA that runs bluehawk check #140

@nlarew

Description

@nlarew

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/**"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions