Skip to content

feat: improved workflows #2

feat: improved workflows

feat: improved workflows #2

Workflow file for this run

name: Merge Source configs and write Source-Registry
on:
pull_request:
branches:
- main
types:
- closed
paths:
- '**.yml'
jobs:
build_registry:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v2
- name: Install required Python packages
run: pip install -r .github/requirements.txt
working-directory: ${{ github.workspace }}
- name: Merge Source configs and write Source-Registry
run: python .github/build_registry.py .github/registry.yml
working-directory: ${{ github.workspace }}
- name: Commit and push changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Actions"
git add .github/registry.yml
git commit -m "Update registry.yml"
git push
working-directory: ${{ github.workspace }}