Skip to content

Skip prevent-draft-merge for propagate-workflow merges#19

Merged
toshi0806 merged 1 commit intomainfrom
issue-18-skip-propagate-workflow-merge
Jan 24, 2026
Merged

Skip prevent-draft-merge for propagate-workflow merges#19
toshi0806 merged 1 commit intomainfrom
issue-18-skip-propagate-workflow-merge

Conversation

@toshi0806
Copy link
Member

Summary

  • propagate-workflow によるマージコミットを検出して、prevent-draft-merge ワークフローをスキップ
  • コミットメッセージに to reconcile workflow history が含まれる場合にスキップ

Changes

  • prevent-draft-merge.ymlSkip if propagate-workflow merge ステップを追加
  • 後続のステップに skip-check の条件を追加

Related

Copy link

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 modifies the prevent-draft-merge.yml workflow to skip execution when processing merge commits created by the propagate-workflow command. The change addresses issue #18, which identified unnecessary workflow failures during propagate-workflow operations.

Changes:

  • Added a skip detection step that checks for "to reconcile workflow history" in commit messages
  • Updated conditional logic on subsequent steps to respect the skip flag

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

@toshi0806 toshi0806 merged commit e58e80a into main Jan 24, 2026
7 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.

Skip workflows for propagate-workflow merge commits

2 participants