Pin core ITs to a specific Git commit by full SHA-1
Avoids ambiguity and potential ref hijacking by checking out commits using full 40-character SHA-1 hashes instead of short IDs or ref names. This ensures that the desired commit is checked out even if the repository contains maliciously crafted refs.
This commit is contained in:
parent
11f05b0bae
commit
43ccdcc689
@ -6,7 +6,8 @@ execute:
|
||||
how: tmt
|
||||
|
||||
environment:
|
||||
MAVEN_IT_GIT_REF: maven-3.9.x
|
||||
# branch maven-3.9.x
|
||||
MAVEN_IT_GIT_REF: e3f9b7c9671cdd67bffe5c2d2663b2d92f05441c
|
||||
|
||||
/jdk21:
|
||||
environment+:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user