Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Naveen-is-here committed May 22, 2024
1 parent f1f3177 commit 81baead
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/lint-yaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@ name: Lint Workflows
on:
pull_request:
paths:
- '.github/**.yml'
- '.github/**.yaml'
- '.github/**.yml'
- '.github/**.yaml'

jobs:
lintYaml:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3

- name: Checkout github-config
uses: actions/checkout@v3
with:
repository: initializ-buildpacks/github-config
path: github-config
- name: Checkout github-config
uses: actions/checkout@v3
with:
repository: initializ-buildpacks/github-config
path: github-config

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.8

- name: Install yamllint
run: pip install yamllint
- name: Install yamllint
run: pip install yamllint

- name: Lint YAML files
run: yamllint ./.github -c github-config/.github/.yamllint
- name: Lint YAML files
run: yamllint ./.github -c github-config/.github/.yamllint

0 comments on commit 81baead

Please sign in to comment.