Skip to content

YAML Lint and Annotate

Actions
Lints yaml files and annotates every finding
v1.3.0
Latest
Star (12)

Lint All Your YAML Files

Using this GitHub Action in your workflow to lint all yaml files and then annotates every finding in the changed files view.

annotation

Usage

Create a new workflow with the following content:

name: YAMLlint

on:
  push:
    branches:
      - '**'
    tags-ignore:
      - '**'

jobs:
  yamllint:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2

      - name: Lint and Annotate
        uses: staffbase/yamllint-action@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          ## The target path is processed recursively
          target-path: <relative-folder-path>
          ## The action name is only necessary if the current action name changed
          action-name: <name-of-the-action>

Credits

This action is using

Staffbase GmbH Staffbase GmbH
Staffbase is an internal communications platform built to revolutionize the way you work and unite your company. Staffbase is hiring: jobs.staffbase.com
GitHub | Website | Jobs

YAML Lint and Annotate is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Lints yaml files and annotates every finding
v1.3.0
Latest

YAML Lint and Annotate is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.