Skip to content

Conversation

@zmdavis
Copy link
Contributor

@zmdavis zmdavis commented Aug 27, 2025

Summary

This PR adds a new skip_draft_prs configuration option that allows users to configure Fix-it Felix to skip processing draft pull requests.

Changes

  • Add skip_draft_prs input parameter to action.yml
  • Implement draft PR checking in shouldSkip method in felix.ts
  • Add comprehensive tests for draft PR functionality
  • Update documentation in README.md and CONFIGURATION.md
  • Update advanced usage example to demonstrate the feature

Test Plan

This PR will test the functionality by being created as a draft PR with a test workflow that has skip_draft_prs enabled.

Usage

Add skip_draft_prs: true to your workflow configuration to skip draft PRs.

This feature is useful when teams want to prevent automatic fixes on work-in-progress PRs.

zmdavis and others added 5 commits August 27, 2025 11:09
- Add new skip_draft_prs input parameter to action.yml
- Implement draft PR checking in shouldSkip() method
- Add comprehensive tests for draft PR functionality
- Update documentation in README.md and CONFIGURATION.md
- Update advanced usage example to demonstrate the feature

This feature allows users to configure Felix to skip processing
draft PRs entirely by setting skip_draft_prs: true, providing
more control over when automatic fixes are applied.
…abs/fix-it-felix into add-skip-draft-prs-option
@zmdavis zmdavis marked this pull request as ready for review August 27, 2025 18:17
@zmdavis zmdavis merged commit d9fcbcb into main Aug 27, 2025
5 checks passed
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