Skip to content

Merge pull request #72 from mattn/zig-nostr-relay #89

Merge pull request #72 from mattn/zig-nostr-relay

Merge pull request #72 from mattn/zig-nostr-relay #89

Workflow file for this run

name: Generate
on:
push:
branches:
- main
paths:
- "**.toml"
permissions:
contents: write
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: create_token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ steps.create_token.outputs.token }}
- name: Set up Python 3.11
uses: actions/setup-python@v4
with:
python-version: 3.11
- name: Generate README.md
run: |
python toml2md.py
- name: Commit and push
run: |
git config --local user.name 'github-actions[bot]'
git config --local user.email 'github-actions[bot]@users.noreply.github.com'
git add -f README.md README-ja.md
git commit -m 'generate README.md'
git push