Skip to content

pin the actions/checkout GitHub Action to a specific version #24

pin the actions/checkout GitHub Action to a specific version

pin the actions/checkout GitHub Action to a specific version #24

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/yamllint-github-action@master
with:
yamllint_config_datapath: .yamllint.yml
yamllint_strict: true
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}