Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix false context matches in status processing #801

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

bluekeyes
Copy link
Member

Policy Bot looks for its own status context to identify when people or apps might be impersonating it, but it used a simple prefix match. This meant it could falsely trigger on unrelated contexts that shared the same prefix. Change to using an exact match or a prefix match followed by a ':', which will match the contexts with a branch name.

Fixes #799.

Policy Bot looks for its own status context to identify when people or
apps might be impersonating it, but it used a simple prefix match. This
meant it could falsely trigger on unrelated contexts that shared the
same prefix. Change to using an exact match or a prefix match followed
by a ':', which will match the contexts with a branch name.
@bluekeyes bluekeyes merged commit 472c477 into develop Jul 17, 2024
8 checks passed
@bluekeyes bluekeyes deleted the bkeyes/fix-status-conflict branch July 17, 2024 18:28
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.

Concurrent deployments can overwrite statuses unintentionally
2 participants