Skip to content

feat: Add skipDraft option to skip notifications for draft PRs#2

Open
byounghoonkim wants to merge 1 commit intonaver:mainfrom
byounghoonkim:feat/add-skip-draft-option
Open

feat: Add skipDraft option to skip notifications for draft PRs#2
byounghoonkim wants to merge 1 commit intonaver:mainfrom
byounghoonkim:feat/add-skip-draft-option

Conversation

@byounghoonkim
Copy link

  • Add skipDraft input parameter to action.yml (default: "false")
  • Implement logic to skip draft PRs when skipDraft is set to "true"
  • Maintain backward compatibility by sending notifications for draft PRs by default
  • Add logging for skipped draft PRs to improve debugging visibility

This allows users to configure the action to skip sending Slack notifications for draft pull requests while preserving the existing behavior by default.

- Add skipDraft input parameter to action.yml (default: "false")
- Implement logic to skip draft PRs when skipDraft is set to "true"
- Maintain backward compatibility by sending notifications for draft PRs by default
- Add logging for skipped draft PRs to improve debugging visibility

This allows users to configure the action to skip sending Slack notifications
for draft pull requests while preserving the existing behavior by default.
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.

1 participant

Comments