WaleedAshraf / asyncapi-github-action

GitHub action to validate if AsyncAPI schema file is valid or not.

Home Page:https://github.com/marketplace/actions/asyncapi-github-action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AsyncAPI Github Action

This action validates if the AsyncAPI schema file is valid or not.

Inputs

filepath

Required Path of the AsyncAPI schema file. Default is "asyncapi.yaml" at root. Path starts root of github repo. For example, if you schema is in schemas folder.

root
├── schemas
│   └── asyncapi.yaml
├── index.js
└── package.json

You should use filepath: './schemas/asyncapi.yaml'

Example usage

- name: asyncapi-github-action
  uses: WaleedAshraf/asyncapi-github-action@v0
  with:
    filepath: 'asyncapi.yaml'

You can specify version with @v<release-version>. It follows semantic release. For latest release, please check releases page.

Here is screen shot of example usage:

Example Usage

About

GitHub action to validate if AsyncAPI schema file is valid or not.

https://github.com/marketplace/actions/asyncapi-github-action

License:MIT License


Languages

Language:JavaScript 100.0%