-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added new method to convert yaml to jason
- Loading branch information
Showing
1 changed file
with
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,9 @@ name: Update list of TSC members in the website repo | |
on: | ||
push: | ||
branches: | ||
- 'master' | ||
- "master" | ||
paths: | ||
- 'MAINTAINERS.yaml' | ||
|
||
- "MAINTAINERS.yaml" | ||
jobs: | ||
update-website: | ||
name: Make PR on website repository with updated tsc members list | ||
|
@@ -28,10 +27,10 @@ jobs: | |
run: | | ||
git config --global user.name asyncapi-bot | ||
git config --global user.email [email protected] | ||
- name: Convert YAML to JSON | ||
- name: Convert YAML to JSON using Python | ||
working-directory: ./community | ||
run: | | ||
cat Maintainers.yaml | yaml2json > MAINTAINERS.json | ||
python -c 'import sys, yaml, json; json.dump(yaml.safe_load(sys.stdin), sys.stdout, indent=4)' < MAINTAINERS.yaml > MAINTAINERS.json | ||
- name: Copy tsc members file from Current Repo to Another | ||
working-directory: ./website | ||
run: | | ||
|