Skip to content

Commit 925cab9

Browse files
committed
Fix pre-commit-update workflow
1 parent ec79d78 commit 925cab9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pre-commit-update.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,19 @@ jobs:
3232
with:
3333
miniforge-variant: Miniforge3
3434
miniforge-version: latest
35+
conda-remove-defaults: "true"
3536
activate-environment: dev
3637
environment-file: ops/conda_env/pre-commit.yml
3738
use-mamba: true
3839
- name: Update pre-commit hooks
3940
run: |
40-
pre-commit install
4141
pre-commit autoupdate
4242
- name: Create Pull Request
4343
uses: peter-evans/create-pull-request@v7
4444
if: github.ref == 'refs/heads/mainline'
4545
with:
4646
branch: create-pull-request/pre-commit-update
47-
base: main
47+
base: mainline
4848
title: "[CI] Update pre-commit hooks"
4949
commit-message: "[CI] Update pre-commit hooks"
5050
token: ${{ steps.generate-token.outputs.token }}

0 commit comments

Comments
 (0)