Skip to content

Commit 12c5b8f

Browse files
committed
fix: use existing labels in all workflows
- Replace non-existent labels with existing ones - integration -> auto-updated - automated -> (removed) - sync -> auto-updated - release -> released - beta -> (removed) This fixes 'label not found' errors in PR creation
1 parent e8bb014 commit 12c5b8f

File tree

3 files changed

+5
-11
lines changed

3 files changed

+5
-11
lines changed

.github/workflows/integrate-develop.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,7 @@ jobs:
109109
--head develop \
110110
--title "🔄 Integrate develop → staging" \
111111
--body-file pr-body.md \
112-
--label "integration" \
113-
--label "automated"
112+
--label "auto-updated"
114113
env:
115114
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
116115

@@ -148,7 +147,6 @@ jobs:
148147
149148
# Add labels
150149
gh pr edit $PR_NUMBER \
151-
--add-label "auto-updated" \
152150
--add-label "needs-review"
153151
154152
# Set as ready for review

.github/workflows/release-staging.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,8 @@ npm install @vue-pivottable/lazy-table-renderer@beta
204204

205205
---
206206
*This PR was automatically created by the staging release workflow*" \
207-
--label "release" \
208-
--label "automated" \
209-
--label "beta"
207+
--label "released" \
208+
--label "auto-updated"
210209
env:
211210
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
212211

@@ -258,7 +257,6 @@ EOF
258257

259258
# Update labels
260259
gh pr edit $PR_NUMBER \
261-
--add-label "auto-updated" \
262260
--add-label "needs-review"
263261
env:
264262
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/update-version.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,7 @@ jobs:
174174
--head $SYNC_BRANCH \
175175
--title "🔄 Sync: main → develop (v$VERSION)" \
176176
--body-file pr-body.md \
177-
--label "sync" \
178-
--label "automated"
177+
--label "auto-updated"
179178
env:
180179
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
181180

@@ -222,8 +221,7 @@ jobs:
222221
--head $SYNC_BRANCH \
223222
--title "🔄 Sync: main → staging (v$VERSION)" \
224223
--body-file pr-body-staging.md \
225-
--label "sync" \
226-
--label "automated"
224+
--label "auto-updated"
227225
env:
228226
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
229227

0 commit comments

Comments
 (0)