Skip to content

Commit

Permalink
🤖 automated notebooks table rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
SkalskiP committed Nov 28, 2022
1 parent 9cb2927 commit d4b19db
Showing 1 changed file with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-python@v4
with:
python-version: 3.9
- run: python automation/autogenerate_notebooks_table.py
- run: |
- name: Rebuild notebooks table in project README.md
run: python automation/autogenerate_notebooks_table.py
- name: Check for modified files
id: git-check
run: echo ::set-output name=modified::$(if [ -n "$(git status --porcelain)" ]; then echo "true"; else echo "false"; fi)
- name: Update changes in GitHub repository
if: steps.git-check.outputs.modified == 'true'
run: |
git config --global user.name 'SkalskiP'
git config --global user.email '[email protected]'
git commit -am "🤖 hello friend, the notebooks table has been rebuilt"
Expand Down

0 comments on commit d4b19db

Please sign in to comment.