You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can replicate this locally that pyproject.toml gets updated as expected, but when the pre-commit hook update-env-file is run (copying the changes to environment.yml), the hook fails because it does introduce changes to environment.yml. Therefore the action errors out before the PR can be created.
I question whether we need to call pre-commit prior to creating the PR. It is enough to update pyproject.toml, open the PR, then let the pre-commit PR action auto-fix copying the changes to environment.yml.
The pre-commit call was added in #13534, and I think this is the first time the SPEC0 action has had a minimum version to update since then.
It was intentional just to try to avoid CircleCI auth issues but we can remove it if it's being a problem. I would just add a || true (or whatever it is) to the pre-commit call though, it should still push changes after that
@tsbinns do you want to open a PR with || true and temporarily on: pr in it to get it to run? The "open PR" step should fail but we should see it try to do it and be able to see the diff. Then we can merge it and I can workflow_dispatch: run the PR in main
Activity
tsbinns commentedon Jan 24, 2026
Also, it seems
mne-botadded thepre-commitcall alongside the SPEC0 changes. Is this expected?larsoner commentedon Jan 24, 2026
It was intentional just to try to avoid CircleCI auth issues but we can remove it if it's being a problem. I would just add a
|| true(or whatever it is) to the pre-commit call though, it should still push changes after thatlarsoner commentedon Jan 26, 2026
@tsbinns do you want to open a PR with
|| trueand temporarilyon: prin it to get it to run? The "open PR" step should fail but we should see it try to do it and be able to see the diff. Then we can merge it and I canworkflow_dispatch:run the PR inmain