Skip to content

Allow trigger to be inside of the body, not necessarily at the beginning#9

Merged
shanegenschaw merged 1 commit into
shanegenschaw:masterfrom
dumitraand:ad/allow-trigger-to-be-anywhere
Jun 13, 2025
Merged

Allow trigger to be inside of the body, not necessarily at the beginning#9
shanegenschaw merged 1 commit into
shanegenschaw:masterfrom
dumitraand:ad/allow-trigger-to-be-anywhere

Conversation

@dumitraand

@dumitraand dumitraand commented Aug 22, 2024

Copy link
Copy Markdown

Allow the body to include the trigger without having to be at the beginning and take note of prefixOnly.

It was counter-intuitive to have the prefixOnly option unset (default false) and notice that the workflow(s) is not triggered when the trigger word was in the middle of the Pull Request body (or at the end of it).

This PR aims to fix that behavior.

@devzom

devzom commented Jun 12, 2025

Copy link
Copy Markdown

Great contribution, worth to merge @shanegenschaw :)

@devzom devzom left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, very helpfull change

@shanegenschaw shanegenschaw merged commit ed1b19f into shanegenschaw:master Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants