scheduling and optimizing of the statistics action #3
Workflow file for this run
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
on: | |
pull_request: | |
types: | |
- closed | |
name: GitHub Actions for notebook syncing | |
jobs: | |
if_merged: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
name: jupytext | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v3 | |
- name: installing & running jupytext | |
run: | | |
pip install jupytext | |
jupytext --set-formats ipynb,md article.ipynb | |
jupytext --sync article.ipynb | |
- name: committing changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Automated commit | |
branch: ${{ github.ref }} | |
create_branch: false |