Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/lint-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---

extends: default


rules:
line-length: disable
trailing-spaces: disable
document-start: disable

26 changes: 26 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'Lint collection-index.yml'
on:
pull_request:
paths:
- _data/collection-index.yml

permissions:
contents: read
pull-requests: write

jobs:
yamllint:
name: 'Yamllint'
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@master
- name: 'Yamllint'
uses: karancode/yamllint-github-action@master
with:
yamllint_file_or_dir: _data/collection-index.yml
yamllint_strict: true
yamllint_config_filepath: .github/lint-config.yaml
yamllint_comment: true
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 0 additions & 2 deletions _data/collection-index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,6 @@
contact: https://github.com/zetta/devcontainer-features/issues
repository: https://github.com/zetta/devcontainer-features
ociReference: ghcr.io/zetta/devcontainer-features
ociReference: ghcr.io/davzucky/devcontainers-features-wolfi
- name: devcontainer features for ubuntugis
maintainer: Conner Shoop
contact: https://github.com/connershoop/devcontainer-feature-ubuntugis/issues
Expand All @@ -988,7 +987,6 @@
contact: https://github.com/The-Nefarious-Developer/devcontainer-templates/issues
repository: https://github.com/The-Nefarious-Developer/devcontainer-templates
ociReference: ghcr.io/the-nefarious-developer/devcontainer-templates
ociReference: ghcr.io/davzucky/devcontainers-features-wolfi
- name: Dev Container Features by ForWarD Software
maintainer: ForWarD Software
contact: https://github.com/forwardsoftware/devcontainer-features/issues
Expand Down