This repository has been archived by the owner on Dec 20, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master'
- Loading branch information
Showing
16 changed files
with
6,018 additions
and
4,834 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: validate tools yaml | ||
|
||
on: | ||
pull_request: | ||
paths: [ "_data/tools.yml", "_data/.schema/tools.schema.yaml", ".github/workflows/validate_tools_yaml.yml" ] | ||
push: | ||
paths: [ "_data/tools.yml", "_data/.schema/tools.schema.yaml", ".github/workflows/validate_tools_yaml.yml" ] | ||
workflow_dispatch: | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
lint-yaml: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: install yamale | ||
run: pip install 'yamale>=5.2.1,<6' | ||
- name: checkout | ||
uses: actions/checkout@v4 | ||
- name: lint tools yaml | ||
run: yamale -s _data/.schema/tools.schema.yaml _data/tools.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# yamale schema syntax: https://github.com/23andMe/Yamale#schema | ||
list(include('tool')) | ||
|
||
--- | ||
|
||
tool: | ||
name: str() | ||
publisher: str() | ||
description: str() # all after 250 chars is truncated | ||
repoUrl: str(required=False) | ||
websiteUrl: str(matches='^https?://.+') | ||
categories: list(include('category')) | ||
|
||
# see _data/tool-categories.yml | ||
category: > | ||
enum( | ||
'opensource', | ||
'proprietary', | ||
'build-integration', | ||
'analysis', | ||
'author', | ||
'github-action', | ||
'github-app', | ||
'transform', | ||
'library', | ||
'signing-notary', | ||
'distribute' | ||
) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.