Skip to content

update: actions/checkout to v3. #5

update: actions/checkout to v3.

update: actions/checkout to v3. #5

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@v3
with:
ref: ${{ github.head_ref }}
fetch-depth: 0
token: ${{ secrets.PAT_TOKEN }}
- 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 built registry
run: |
git config --local user.email "[email protected]"
git config --local user.name "kyve-network"
git add .github/registry.yml
git commit -m "🎉 Update registry.yml"
git push
working-directory: ${{ github.workspace }}