Skip to content

Conversation

@prashant-gurung899
Copy link
Contributor

@prashant-gurung899 prashant-gurung899 commented Dec 11, 2025

Description

This PR corrects the logic that detects release pull requests by checking ctx.build.sender.

Related Issue

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

Signed-off-by: prashant-gurung899 <prasantgrg777@gmail.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a bug in the Woodpecker CI configuration where the release pull request detection logic was incorrectly checking ctx.build.event twice instead of checking ctx.build.sender to identify PRs from the "openclouders" user.

  • Corrects the condition in is_release_pr to properly check ctx.build.sender == "openclouders" instead of the erroneous ctx.build.event == "openclouders"

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@prashant-gurung899 prashant-gurung899 merged commit 9bf47c4 into main Dec 11, 2025
35 checks passed
@prashant-gurung899 prashant-gurung899 deleted the fix-condition-check branch December 11, 2025 09:05
openclouders pushed a commit that referenced this pull request Dec 11, 2025
[tests-only] correct release PR condition to use build.sender
@openclouders openclouders mentioned this pull request Dec 11, 2025
1 task
This was referenced Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants