Skip to content

Initial upload of infographics #172

Initial upload of infographics

Initial upload of infographics #172

Workflow file for this run

name: Changelog generation
on:
push:
branches: [main]
jobs:
changelogs:
runs-on: ubuntu-22.04
steps:
- name: Check out sources
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Generate changelogs
run: |
git log -z --reverse --pretty='format:%H %at %s%n%b' \
--diff-filter=AM ${{ github.event.before }}.. \
-- data-visualization/infographics/\*.ai | \
_util/generate_changelogs.py ${{ github.repository }}
- name: Commit and push changes
run: |
[[ -z $(git status --short) ]] && \
echo 'No change in changelogs' && \
exit
git config --local user.name 'Automation'
git config --local user.email '[email protected]'
git add .
git commit --message 'Update changelogs'
git push