-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
23 additions
and
5 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
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,18 @@ | ||
# Generate a yaml index from subfolders in a folder | ||
|
||
This is a quick script which can enumerate subfolders inside a given folder and | ||
generate/update a yaml which contains a dictionary where each entry is a subfolder name. | ||
|
||
Can be used in GitHub Actions matrix workflows to generate the list to iterate. | ||
|
||
Can be hooked in pre-commit as a local hook with: | ||
|
||
```yaml | ||
- repo: local | ||
hooks: | ||
- id: update-index-yml | ||
name: update charts.yml file | ||
language: docker_image | ||
entry: ghcr.io/alfresco/build-tools-gen-index-yml:master | ||
pass_filenames: false | ||
``` |
File renamed without changes.
File renamed without changes.