feat(Vivo): New artificial intelligence icon #929
Workflow file for this run
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: Readme Generator | |
| permissions: | |
| contents: write | |
| 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@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Get branch name | |
| uses: rlespinasse/github-slug-action@v3.x | |
| - run: sudo python3 .github/scripts/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' | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| # Configure git credentials using GITHUB_TOKEN | |
| git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/${{ github.repository }}.git | |
| 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 }} |