File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff 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'
You can’t perform that action at this time.
0 commit comments