Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

chore(ci): add nosemgrep for pull_request_target rule (#59569)

Tom Piccirellocc7f1450bafe
diff --git a/.github/workflows/auto-assign-reviewers.yml b/.github/workflows/auto-assign-reviewers.yml
index f66afa668f95..0798245f5628 100644
--- a/.github/workflows/auto-assign-reviewers.yml
+++ b/.github/workflows/auto-assign-reviewers.yml
@@ -9,6 +9,7 @@ name: Auto Assign Reviewers
#
# This has the small downside that changes to CODEOWNERS will not be reflected in here until we merge it to master,
# which means testing this workflow is slightly less convenient but that's well worth it.
+# nosemgrep: semgrep.rules.github-actions-pull-request-target
on:
pull_request_target:
# Only opened or when clicking ready otherwise you can never remove the reviewers
diff --git a/.github/workflows/pr-posthog-js-reviewer.yml b/.github/workflows/pr-posthog-js-reviewer.yml
index d83f86dd2024..2fb5592b88c0 100644
--- a/.github/workflows/pr-posthog-js-reviewer.yml
+++ b/.github/workflows/pr-posthog-js-reviewer.yml
@@ -4,6 +4,7 @@ name: Request review for posthog-js updates
# SECURITY: We never checkout or execute code from the PR branch.
# We only use the GitHub API to check the diff and request reviewers.
+# nosemgrep: semgrep.rules.github-actions-pull-request-target
on:
pull_request_target:
types: [opened, synchronize]