Skip to content

Refactor workflow and pass diff files correctly #534

Refactor workflow and pass diff files correctly

Refactor workflow and pass diff files correctly #534

Workflow file for this run

name: Lint YAML Changes
on:
pull_request:
paths:
- '**.yml'
- '**.yaml'
jobs:
lintYaml:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Checkout github-config
uses: actions/checkout@v4
with:
repository: paketo-buildpacks/github-config
path: github-config
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install yamllint
run: pip install yamllint
- name: Lint YAML files
run: yamllint . -c github-config/.github/.yamllint