File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -207,6 +207,7 @@ jobs:
207207 - name : Fallback publish autofix branch
208208 id : fallback_autofix_branch
209209 if : github.event_name != 'pull_request' && steps.autofix.outputs.changed == 'true' && steps.create_autofix_pr.outcome == 'failure'
210+ continue-on-error : true
210211 run : |
211212 set -euo pipefail
212213 git config user.name "github-actions[bot]"
@@ -217,7 +218,11 @@ jobs:
217218
218219 # Reapply captured OpenAPI autofix edits that may have been reset by create-pull-request.
219220 if [ -s /tmp/openapi-autofix-v2.patch ]; then
220- git apply --whitespace=nowarn /tmp/openapi-autofix-v2.patch
221+ if git apply --check /tmp/openapi-autofix-v2.patch; then
222+ git apply --whitespace=nowarn /tmp/openapi-autofix-v2.patch
223+ else
224+ echo "Autofix patch not applicable as-is; continuing with current workspace state."
225+ fi
221226 fi
222227
223228 git checkout -B automation/openapi-autofix
@@ -235,6 +240,7 @@ jobs:
235240
236241 - name : Fallback create or update autofix PR
237242 if : github.event_name != 'pull_request' && steps.autofix.outputs.changed == 'true' && steps.create_autofix_pr.outcome == 'failure' && steps.fallback_autofix_branch.outputs.pushed == 'true'
243+ continue-on-error : true
238244 uses : actions/github-script@v7
239245 with :
240246 script : |
You can’t perform that action at this time.
0 commit comments