Update masp-indexers.json #340
This file contains hidden or 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
| name: Generate Markdown on Merge | |
| on: | |
| merge_group: | |
| push: | |
| branches: | |
| - main | |
| concurrency: | |
| group: ${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
| permissions: | |
| packages: write | |
| contents: write | |
| jobs: | |
| generate-md: | |
| if: ${{ github.repository == 'Luminara-Hub/namada-ecosystem' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout the code | |
| uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.9" | |
| # - name: Install dependencies | |
| # run: pip install --no-cache-dir -r requirements.txt | |
| # - name: Run Markdown generation script | |
| # run: python _luminara-homebase/scripts/gen-tools-md.py | |
| - name: Run JSON generation script | |
| run: python _luminara-homebase/scripts/gen-contributors-json.py | |
| - name: Commit generated Markdown files | |
| run: | | |
| git config user.name "GitHub Action" | |
| git config user.email "[email protected]" | |
| git add -A | |
| git commit -m "Update generated JSON and Markdown files" | |
| git push | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |