File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -28,19 +28,23 @@ jobs:
2828 init-shell : bash
2929 condarc : |
3030 channel_priority: strict
31- channels:
31+ channels:
3232 - conda-forge
3333 create-args : >-
3434 python=${{ env.PYTHON_VERSION }}
3535
3636 - name : Install pre-commit and gh
3737 # permissions issue with 2.76.0
3838 run : |
39+ eval "$(micromamba shell hook --shell bash)"
40+ micromamba activate pre_commit_dev
3941 conda install -y pre-commit "gh !=2.76.0"
4042 gh --version
4143
4244 - name : Apply and commit updates
4345 run : |
46+ eval "$(micromamba shell hook --shell bash)"
47+ micromamba activate pre_commit_dev
4448 git clone https://github.com/E3SM-Project/mache.git update-pre-commit-deps
4549 cd update-pre-commit-deps
4650 # Configure git using GitHub Actions credentials.
6670 - name : Make PR and add reviewers and labels
6771 if : ${{ env.UP_TO_DATE == 'false' }}
6872 run : |
73+ eval "$(micromamba shell hook --shell bash)"
74+ micromamba activate pre_commit_dev
6975 cd update-pre-commit-deps
7076 gh pr create \
7177 --title "Update pre-commit and its dependencies" \
You can’t perform that action at this time.
0 commit comments