Skip to content

pin the karancode/yamllint-github-action GH Action to a specific version #25

pin the karancode/yamllint-github-action GH Action to a specific version

pin the karancode/yamllint-github-action GH Action to a specific version #25

Workflow file for this run

---
name: YAML Validation
on: [push, workflow_dispatch]
jobs:
yaml-check:
runs-on: ubuntu-latest
steps:
- name: Checkout this repository
uses: actions/[email protected]
- name: Download .yamllint.yml
uses: suisei-cn/[email protected]
with:
url: "https://raw.githubusercontent.com/fharper/gh-configs/main/.yamllint.yml"
- name: Lint YAML files
uses: karancode/[email protected]
with:
yamllint_config_datapath: .yamllint.yml
yamllint_strict: true
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}