FAQ | This is a LIVE service | Changelog

Skip to content
Commits on Source (2)
......@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [2.6.2] - 2023-08-01
### Fixed
- pre-commit.yml: relax `pre-commit` job rules to enable users to decide when to include the job via
`workflow` rules instead.
## [2.6.1] - 2023-07-24
### Fixed
......
......@@ -11,9 +11,6 @@
# file: '/auto-devops/pre-commit.yml'
# ref: v2.1.2
include:
- local: '/job-rules.yml'
pre-commit:
image: registry.gitlab.developers.cam.ac.uk/uis/devops/infra/dockerimages/pre-commit:3.3
script:
......@@ -28,6 +25,5 @@ pre-commit:
rules:
- if: $PRE_COMMIT_DISABLED
when: never
- !reference [.rules:disable-except-for-pushes-and-merge-requests]
- exists:
- .pre-commit-config.yaml