Skip to content

Commit f0e4e03

Browse files
committed
Add creation
1 parent b363136 commit f0e4e03

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/sync_extra_features_e2e.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,24 @@ jobs:
133133
This issue will be automatically closed when the sync succeeds.
134134
`;
135135
136+
// Check if issue already exists
137+
const existingIssues = await github.rest.issues.listForRepo({
138+
owner: context.repo.owner,
139+
repo: context.repo.repo,
140+
state: 'open',
141+
labels: 'sync-conflict'
142+
});
143+
144+
if (existingIssues.data.length === 0) {
145+
await github.rest.issues.create({
146+
owner: context.repo.owner,
147+
repo: context.repo.repo,
148+
title: '🚨 E2E Branch Sync Conflict - Manual Resolution Required',
149+
body: issueBody,
150+
labels: ['sync-conflict', 'automation']
151+
});
152+
}
153+
136154
deploy:
137155
needs: sync-branch
138156
if: needs.sync-branch.outputs.status != 'conflict' && needs.sync-branch.outputs.status != 'up-to-date'

0 commit comments

Comments
 (0)