diff --git a/.github/workflows/process_metadata.yml b/.github/workflows/process_metadata.yml index 5117c9e5a67a..6e650975ffda 100644 --- a/.github/workflows/process_metadata.yml +++ b/.github/workflows/process_metadata.yml @@ -92,11 +92,14 @@ jobs: # Pin action to full length commit SHA uses: stdlib-js/metadata-action@3ccf68f24c51ae23470319e8e5619d539df8212b # v3.0.0 + # Continue with subsequent steps even when this step fails (e.g., due to a non-YAML comment body) in order to "pass" the job and not trigger failure e-mails/notifications: + continue-on-error: true + # Check the metadata for directives to send tweets: - name: 'Send tweets' - # Only run this step if a user has write access: - if: steps.assert-write-access.outcome == 'success' + # Only run this step if a user has write access and metadata was successfully extracted: + if: steps.assert-write-access.outcome == 'success' && steps.extract-metadata.outcome == 'success' # Pin action to full length commit SHA uses: stdlib-js/metadata-tweet-action@8e9b688c86150797c1c7f60bc8f7c9a9a30e10fe # v2.0.0 @@ -111,8 +114,8 @@ jobs: - name: 'Check metadata for workflow dispatch directives' id: check-workflow-dispatch - # Only run this step if a user has write access: - if: steps.assert-write-access.outcome == 'success' + # Only run this step if a user has write access and metadata was successfully extracted: + if: steps.assert-write-access.outcome == 'success' && steps.extract-metadata.outcome == 'success' env: METADATA: ${{ steps.extract-metadata.outputs.metadata }}