Browse code

gha/validate-check: Target the branch, not ref

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>

Paweł Gronowski authored on 2026/05/15 19:34:11
Showing 1 changed files
... ...
@@ -34,7 +34,7 @@ jobs:
34 34
             // a security gate, just a helpful check for maintainers.
35 35
             const ref = touchesVersions
36 36
               ? context.payload.pull_request.head.sha
37
-              : context.payload.pull_request.base.sha;
37
+              : context.payload.pull_request.base.ref;
38 38
 
39 39
             core.info(`Base ref: ${ref}`);
40 40