File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ permissions:
15
15
pull-requests : write
16
16
17
17
jobs :
18
+ # Get installs from rye and run rye run clean to format
18
19
format :
19
20
if : github.event.pull_request.merged == false
20
21
runs-on : ubuntu-latest
@@ -38,11 +39,11 @@ jobs:
38
39
with :
39
40
github_token : ${{ secrets.GITHUB_TOKEN }}
40
41
branch : ${{ github.head_ref }}
42
+ # See if notebooks were added or deleted (name change counts as both)
41
43
changes :
42
44
needs : format
43
45
if : github.event.pull_request.merged == false
44
46
runs-on : ubuntu-latest
45
- # Set job outputs to values from filter step
46
47
outputs :
47
48
addedOrModified : ${{ steps.filter.outputs.addedOrModified }}
48
49
steps :
52
53
filters : |
53
54
addedOrModified:
54
55
- added|deleted: 'examples/**/*.ipynb'
56
+ # Create readme if the above job shows true using rye run create-readme
55
57
create :
56
58
needs : changes
57
59
if : ${{ needs.changes.outputs.addedOrModified == 'true' }} && github.event.pull_request.merged == false
You can’t perform that action at this time.
0 commit comments