1
0
Fork 0
mirror of https://github.com/karancode/yamllint-github-action.git synced 2024-08-16 10:19:48 +02:00
yamllint/.github/workflows/linting.yml
Yudai Takada 8aaa73d411
Add to GitHub Actions workflows Linting ourselves with yamllint (#10)
* Linting ourselves in yamllint

* Add to GitHub Actions workflows Linting ourselves with yamllint
2022-12-19 03:00:01 +00:00

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 }}