We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad3b59e commit 485fe43Copy full SHA for 485fe43
1 file changed
.github/workflows/upstream-sync.yml
@@ -72,6 +72,17 @@ jobs:
72
run: |
73
git push -f origin "$SYNC_BRANCH"
74
75
+ - name: Ensure Labels Exist
76
+ env:
77
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78
+ run: |
79
+ # Ensure labels exist to prevent errors during PR creation
80
+ gh label create upstream-sync --description "Syncs changes from upstream" --color 1d76db || true
81
+ gh label create conflict --description "Merge conflicts detected" --color b60205 || true
82
+
83
+ # Debug: List labels to verify visibility
84
+ gh label list
85
86
- name: Create Pull Request
87
if: steps.merge.outputs.merge_status == 'success' || steps.merge.outputs.merge_status == 'conflict'
88
0 commit comments