@@ -140,6 +140,7 @@ jobs:
140140 run : ./ci/validate_asciidoc.sh
141141
142142 validate_links :
143+ if : github.event_name != 'merge_group'
143144 runs-on : github-ubuntu-latest-s
144145 name : Validate Links
145146 timeout-minutes : 120
@@ -153,21 +154,15 @@ jobs:
153154 - name : Install common dependencies
154155 uses : ./.github/actions/install-common-dependencies
155156 - name : Restore link cache
156- id : cache-link-restore
157- uses : actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
157+ uses : SonarSource/gh-action_cache@v1
158158 with :
159159 path : link-probing.cache
160- key : link-probing-cache
160+ key : link-probing-cache-${{ github.sha }}
161+ restore-keys : |
162+ link-probing-cache-${{ github.sha }}
163+ link-probing-cache-
161164 - name : Validate links
162- run : |
163- ./ci/validate_links.sh link-probing.cache
164- - name : Save link cache
165- if : always() && !cancelled()
166- id : cache-link-save
167- uses : actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
168- with :
169- path : link-probing.cache
170- key : link-probing-cache
165+ run : ./ci/validate_links.sh link-probing.cache
171166
172167 all_required_checks :
173168 needs :
@@ -176,7 +171,7 @@ jobs:
176171 - validate_rules
177172 - validate_ci_tests
178173 runs-on : github-ubuntu-latest-s
179- name : All Required Checks
174+ name : all_required_checks
180175 steps :
181176 - name : All required checks passed
182177 run : echo 'All required checks have passed'
0 commit comments