Skip to content

🐞[Bug]: Prevent workflow from running on checkbox toggles in PR body #1015

@sheikhlimon

Description

@sheikhlimon

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

Our "Sync Issue Metadata to PR" workflow currently triggers on pull_request_target events with types [opened, edited, synchronize, reopened]. This means that toggling checkboxes in the PR description triggers the workflow, even though no new issue references are added. This causes unnecessary runs, redundant API calls, and log spam.

Expected behavior

  • A PR is opened
  • Commits are pushed (synchronize)
  • A PR is reopened
  • Issue references (#123) are added or removed in the PR title/body

The workflow should NOT run when:

  • Only checkboxes in the PR description are toggled
  • Minor edits that do not affect linked issues

Add ScreenShots

No response

What browsers are you seeing the problem on?

No response

Record

  • I have read the Contributing Guidelines
  • Are you a GSSOC'25 contributor
  • I want to work on this issue

Metadata

Metadata

Assignees

Type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions