Skip to content

Commit bb7b9dc

Browse files
Remove duplicates and add GitHub action to lint collection-index.yml
1 parent 893f2bc commit bb7b9dc

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

.github/workflows/lint.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 'Lint collection-index.yml'
2+
on:
3+
pull_request:
4+
paths:
5+
- _data/collection-index.yml
6+
7+
8+
jobs:
9+
yamllint:
10+
name: 'Yamllint'
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: 'Checkout'
14+
uses: actions/checkout@master
15+
- name: 'Yamllint'
16+
uses: karancode/yamllint-github-action@master
17+
with:
18+
yamllint_file_or_dir: _data/collection-index.yml
19+
yamllint_strict: true
20+
yamllint_comment: true
21+
env:
22+
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}

_data/collection-index.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,6 @@
977977
contact: https://github.com/zetta/devcontainer-features/issues
978978
repository: https://github.com/zetta/devcontainer-features
979979
ociReference: ghcr.io/zetta/devcontainer-features
980-
ociReference: ghcr.io/davzucky/devcontainers-features-wolfi
981980
- name: devcontainer features for ubuntugis
982981
maintainer: Conner Shoop
983982
contact: https://github.com/connershoop/devcontainer-feature-ubuntugis/issues
@@ -988,7 +987,6 @@
988987
contact: https://github.com/The-Nefarious-Developer/devcontainer-templates/issues
989988
repository: https://github.com/The-Nefarious-Developer/devcontainer-templates
990989
ociReference: ghcr.io/the-nefarious-developer/devcontainer-templates
991-
ociReference: ghcr.io/davzucky/devcontainers-features-wolfi
992990
- name: Dev Container Features by ForWarD Software
993991
maintainer: ForWarD Software
994992
contact: https://github.com/forwardsoftware/devcontainer-features/issues

0 commit comments

Comments
 (0)