Commit 9e655c7
Fix Jsonnet workflows, address review comments, and ensure full action annotations
This commit comprehensively resolves issues in the Jsonnet formatting
workflows and brings the repository into compliance with requested
standards:
1. **Workflows Improvement**:
* Switched from manual `docker run` to `container` job level
definitions.
* Updated the image to `public.ecr.aws/bitnami/jsonnet:latest` to
resolve Docker Hub resolution issues.
* Added `workflow_call` support to `jsonnet-format-check.yaml` and
`jsonnet-format-fix.yaml`.
* Implemented the `local_checkout_path` environment variable
pattern for consistent directory handling.
* Updated job conditions for better consistency across all
formatting workflows.
* Ensured dynamic bot command triggers using the repository name.
2. **Action Improvements**:
* Updated `detect-relevant-changes` action to include a built-in
`jsonnet` type mapping to `*.jsonnet`.
* Verified and ensured that all non-local actions pinned by SHA
include full version annotations (e.g., `# vX.Y.Z`) to support
Dependabot tracking.
3. **Documentation**:
* Fixed duplicate section numbering and Markdown formatting
issues in `REUSABLE_WORKFLOWS.md`.
These changes ensure the Jsonnet workflows are robust, reusable, and
consistent with the project's established patterns.
Co-authored-by: greenc-FNAL <2372949+greenc-FNAL@users.noreply.github.com>1 parent a25a6b1 commit 9e655c7
File tree
4 files changed
+88
-43
lines changed- .github
- actions/detect-relevant-changes
- workflows
4 files changed
+88
-43
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | | - | |
14 | | - | |
| 14 | + | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
17 | 34 | | |
18 | 35 | | |
19 | 36 | | |
| |||
27 | 44 | | |
28 | 45 | | |
29 | 46 | | |
30 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
31 | 51 | | |
32 | 52 | | |
33 | 53 | | |
| |||
39 | 59 | | |
40 | 60 | | |
41 | 61 | | |
42 | | - | |
| 62 | + | |
43 | 63 | | |
44 | 64 | | |
45 | 65 | | |
46 | 66 | | |
47 | 67 | | |
48 | | - | |
49 | | - | |
50 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
51 | 71 | | |
52 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
53 | 83 | | |
54 | 84 | | |
55 | 85 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
61 | 90 | | |
62 | | - | |
63 | | - | |
| 91 | + | |
| 92 | + | |
64 | 93 | | |
65 | 94 | | |
66 | 95 | | |
67 | 96 | | |
68 | 97 | | |
69 | | - | |
70 | | - | |
| 98 | + | |
71 | 99 | | |
72 | 100 | | |
73 | 101 | | |
| 102 | + | |
74 | 103 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
| 104 | + | |
80 | 105 | | |
81 | 106 | | |
82 | 107 | | |
| |||
93 | 118 | | |
94 | 119 | | |
95 | 120 | | |
| 121 | + | |
96 | 122 | | |
97 | | - | |
98 | | - | |
| 123 | + | |
99 | 124 | | |
100 | | - | |
101 | | - | |
102 | 125 | | |
103 | 126 | | |
104 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
14 | 28 | | |
15 | 29 | | |
16 | 30 | | |
17 | 31 | | |
18 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
19 | 36 | | |
20 | 37 | | |
21 | 38 | | |
| |||
27 | 44 | | |
28 | 45 | | |
29 | 46 | | |
30 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
31 | 50 | | |
32 | 51 | | |
33 | 52 | | |
| |||
44 | 63 | | |
45 | 64 | | |
46 | 65 | | |
47 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
48 | 71 | | |
49 | | - | |
| 72 | + | |
| 73 | + | |
50 | 74 | | |
51 | | - | |
52 | | - | |
53 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
54 | 78 | | |
55 | 79 | | |
56 | 80 | | |
57 | 81 | | |
| 82 | + | |
58 | 83 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 84 | + | |
64 | 85 | | |
65 | 86 | | |
66 | 87 | | |
67 | | - | |
| 88 | + | |
68 | 89 | | |
69 | 90 | | |
70 | | - | |
| 91 | + | |
71 | 92 | | |
72 | | - | |
73 | | - | |
| 93 | + | |
| 94 | + | |
0 commit comments