FAQ
| This is a
LIVE
service |
Changelog
Skip to content
GitLab
Explore
Sign in
Commits on Source (2)
fix: pre-commit rules
· 8ee349ea
Ryan Kowalewski
authored
Aug 01, 2023
8ee349ea
Merge branch 'fix-pre-commit' into 'master'
· 3867d57e
Ryan Kowalewski
authored
Aug 03, 2023
Fix pre-commit rules Closes
#48
See merge request
!60
3867d57e
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
3867d57e
...
...
@@ -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
...
...
auto-devops/pre-commit.yml
View file @
3867d57e
...
...
@@ -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