File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1010 paths :
1111 - " pymc_marketing/**"
1212
13- permissions : write-all
14-
1513jobs :
1614 build :
1715 runs-on : ubuntu-latest
18-
16+ permissions : write-all
1917 steps :
2018 - name : Checkout repository
21- uses : actions/checkout@v2
19+ uses : actions/checkout@v4
20+ with :
21+ ref : ${{ github.head_ref || 'main' }}
2222
2323 - name : Set up Python
2424 uses : actions/setup-python@v2
4343 else
4444 echo "Committing the changes"
4545 git commit -m "Update UML Diagrams"
46- git push origin HEAD:${GITHUB_HEAD_REF}
46+ git push origin HEAD:${GITHUB_HEAD_REF:-main }
4747 fi
4848 env :
4949 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 2727
2828
2929class MissingLiftTestError (Exception ):
30+ """Error when some of the lift tests are not in the model."""
31+
3032 def __init__ (self , missing_values : npt .NDArray [np .int_ ]) -> None :
3133 self .missing_values = missing_values
3234 super ().__init__ (
You can’t perform that action at this time.
0 commit comments