Skip to content

Commit

Permalink
ci(pre-commit): migrate pre-commit config (apache#43372)
Browse files Browse the repository at this point in the history
We update the names of the pre-commit stages. From the https://pre-commit.com/#confining-hooks-to-run-at-certain-stages:

new in 3.2.0: The values of stages match the hook names. Previously, commit, push, and merge-commit matched pre-commit, pre-push, and pre-merge-commit respectively.
  • Loading branch information
Lee-W authored Oct 25, 2024
1 parent 2860f81 commit add8e9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
---
default_stages: [commit, push]
default_stages: [pre-commit, pre-push]
default_language_version:
python: python3
node: 22.2.0
Expand Down

0 comments on commit add8e9d

Please sign in to comment.