Browse code

gha/workflows: Validate milestone debug

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

Paweł Gronowski authored on 2026/05/15 19:26:40
Showing 1 changed files
... ...
@@ -24,7 +24,10 @@ jobs:
24 24
               repo: context.repo.repo,
25 25
               pull_number: context.payload.pull_request.number,
26 26
             });
27
+            core.info(`Modified files: ${files.map(f => f.filename).join(', ')}`);
28
+
27 29
             const touchesVersions = files.some(f => f.filename === 'releases/versions.yaml');
30
+            core.info(`Touches version: ${touchesVersions}`);
28 31
 
29 32
             // Use the PR's version when it bumps the file, base branch otherwise.
30 33
             // It's fine to trust the author in this case, it's not meant to be
... ...
@@ -33,6 +36,8 @@ jobs:
33 33
               ? context.payload.pull_request.head.sha
34 34
               : context.payload.pull_request.base.sha;
35 35
 
36
+            core.info(`Base ref: ${ref}`);
37
+
36 38
             const resp = await github.rest.repos.getContent({
37 39
               owner: context.repo.owner,
38 40
               repo: context.repo.repo,