Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tools: Note the skipped announcement when the feature-level check fails.
Chris Bobbe7e522122fc8a
diff --git a/.github/workflows/api-docs-update-check.yml b/.github/workflows/api-docs-update-check.ymlindex 9d9b0d1b8ac..681fd7fdaa0 100644--- a/.github/workflows/api-docs-update-check.yml+++ b/.github/workflows/api-docs-update-check.yml@@ -47,6 +47,9 @@ jobs:notify-if-api-docs-changed:runs-on: ubuntu-slim+ # The failure message in tools/check-feature-level-updated says that+ # its failure skips this job. Update that message if changing this+ # dependency.needs: check-feature-level-updatedsteps:diff --git a/tools/check-feature-level-updated b/tools/check-feature-level-updatedindex 99b2d6dfe5b..44311d10a62 100755--- a/tools/check-feature-level-updated+++ b/tools/check-feature-level-updated@@ -24,7 +24,7 @@ if __name__ == "__main__":for api_docs_path in api_docs_paths:with open(api_docs_path) as file:if "ZF-" in file.read():- content = f"[Build]({build_url}) triggered by {github_actor} on branch `{branch}` has failed: Feature level not replaced in '{api_docs_path}'."+ content = f"[Build]({build_url}) triggered by {github_actor} on branch `{branch}` has failed: Feature level not replaced in '{api_docs_path}'. This also skips the job that posts the new-feature-level announcement to #**api documentation**. After fixing `{branch}`, post the announcement manually if needed."print(f"fail=true\ntopic={topic}\ncontent={content}")sys.exit(0)