Skip to content

Merge branch 'production' into isolate-icon-table #804

Merge branch 'production' into isolate-icon-table

Merge branch 'production' into isolate-icon-table #804

Workflow file for this run

name: Readme Generator
on:
workflow_dispatch:
push:
paths:
- ".github/md-generator/generate_markdown.py"
- ".github/md-generator/generate_icon_table.py"
- ".github/md-generator/generate_graph.py"
- ".github/workflows/auto-generator.yml"
- "icons/"
pull_request:
branches:
- production
paths:
- "icons/**"
jobs:
readme-generator:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get branch name
uses: rlespinasse/[email protected]
- run: sudo python3 .github/md-generator/generate_markdown.py icons
- name: Check for changes
id: git_status
run: |
git diff --exit-code || echo "changes"
- name: Commit & Push in ${{ env.GITHUB_REF_SLUG_URL }}
if: steps.git_status.outputs.result == 'changes'
run: |
git add .
git config user.name "github-actions"
git config user.email "github-actions[bot]@users.noreply.github.com"
git commit -am "update changelog"
git push origin ${{ env.GITHUB_REF_SLUG_URL }}