mirror of
https://github.com/karancode/yamllint-github-action.git
synced 2024-08-16 10:19:48 +02:00
8aaa73d411
* Linting ourselves in yamllint * Add to GitHub Actions workflows Linting ourselves with yamllint
33 lines
778 B
YAML
33 lines
778 B
YAML
---
|
|
name: linting
|
|
on:
|
|
- pull_request
|
|
|
|
jobs:
|
|
Markdownlint:
|
|
runs-on: 'ubuntu-latest'
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Markdown Lint
|
|
uses: actionshub/markdownlint@v1.0.0
|
|
|
|
Dockerfilelint:
|
|
runs-on: 'ubuntu-latest'
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Dockerfile Lint
|
|
uses: burdzwastaken/hadolint-action@1.6.0
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
HADOLINT_ACTION_DOCKERFILE_FOLDER: .
|
|
|
|
Yamllint:
|
|
runs-on: 'ubuntu-latest'
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: YAML Lint
|
|
uses: karancode/yamllint-github-action@master
|
|
with:
|
|
yamllint_comment: true
|
|
env:
|
|
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|