Skip to content

Commit 0224bfe

Browse files
committed
added comments to workflow to show what they do
1 parent 88a6561 commit 0224bfe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/notebooks.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ permissions:
1515
pull-requests: write
1616

1717
jobs:
18+
# Get installs from rye and run rye run clean to format
1819
format:
1920
if: github.event.pull_request.merged == false
2021
runs-on: ubuntu-latest
@@ -38,11 +39,11 @@ jobs:
3839
with:
3940
github_token: ${{ secrets.GITHUB_TOKEN }}
4041
branch: ${{ github.head_ref }}
42+
# See if notebooks were added or deleted (name change counts as both)
4143
changes:
4244
needs: format
4345
if: github.event.pull_request.merged == false
4446
runs-on: ubuntu-latest
45-
# Set job outputs to values from filter step
4647
outputs:
4748
addedOrModified: ${{ steps.filter.outputs.addedOrModified }}
4849
steps:
@@ -52,6 +53,7 @@ jobs:
5253
filters: |
5354
addedOrModified:
5455
- added|deleted: 'examples/**/*.ipynb'
56+
# Create readme if the above job shows true using rye run create-readme
5557
create:
5658
needs: changes
5759
if: ${{ needs.changes.outputs.addedOrModified == 'true' }} && github.event.pull_request.merged == false

0 commit comments

Comments
 (0)