aeon-toolkit / aeon

A toolkit for machine learning from time series
https://aeon-toolkit.org/
BSD 3-Clause "New" or "Revised" License
978 stars 116 forks source link

[MNT] Change pre-commit trigger type #1661

Closed MatthewMiddlehurst closed 3 months ago

MatthewMiddlehurst commented 3 months ago

Reference Issues/PRs

The current trigger for PRs in the pre-commit workflow does not give sufficient permissions to use repository secrets in forks. We don't actually install or execute any user code in this workflow, so I don't see the issue with giving it said permissions.

aeon-actions-bot[bot] commented 3 months ago

Thank you for contributing to aeon

I have added the following labels to this PR based on the title: [ $\color{#EC843A}{\textsf{maintenance}}$ ].

The Checks tab will show the status of our automated tests. You can click on individual test runs in the tab or "Details" in the panel below to see more information if there is a failure.

If our pre-commit code quality check fails, any trivial fixes will automatically be pushed to your PR unless it is a draft.

Don't hesitate to ask questions on the aeon Slack channel if you have any.

PR CI actions

These checkboxes will add labels to enable/disable CI functionality for this PR. This may not take effect immediately, and a new commit may be required to run the new configuration.