-
Notifications
You must be signed in to change notification settings - Fork 911
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" | ||
|