Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

feat: added action to verify that every pr has a linked issue

Ankit Nayan61d01fa2d571
diff --git a/.github/workflows/pr_verify_linked_issue.yml b/.github/workflows/pr_verify_linked_issue.yml
new file mode 100644
index 0000000000..adf2718a46
--- /dev/null
+++ b/.github/workflows/pr_verify_linked_issue.yml
@@ -0,0 +1,20 @@
+# This workflow will inspect a pull request to ensure there is a linked issue or a
+# valid issue is mentioned in the body. If neither is present it fails the check and adds
+# a comment alerting users of this missing requirement.
+name: VerifyIssue
+
+on:
+ pull_request:
+ types: [edited, synchronize, opened, reopened]
+ check_run:
+
+jobs:
+ verify_linked_issue:
+ runs-on: ubuntu-latest
+ name: Ensure Pull Request has a linked issue.
+ steps:
+ - name: Verify Linked Issue
+ uses: hattan/[email protected]
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+