Skip to content

Commit cbd69bb

Browse files
authored
meta(gha): Deploy action issue-status-helper.yml (#26015)
1 parent 35095d9 commit cbd69bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/issue-status-helper.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
issues:
44
types: [labeled]
55
jobs:
6-
routed:
6+
ensure_one_status:
77
runs-on: ubuntu-latest
88
if: "startsWith(github.event.label.name, 'Status: ')"
99
steps:
@@ -12,5 +12,5 @@ jobs:
1212
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1313
GH_REPO: ${{ github.repository }}
1414
run: |
15-
labels_to_remove=$(gh api "/repos/$GH_REPO/labels" -q '[.[].name | select(startswith("Status: ") and . != "${{ github.event.label.name }}")] | join(",")')
15+
labels_to_remove=$(gh api --paginate "/repos/$GH_REPO/labels" -q '[.[].name | select(startswith("Status: ") and . != "${{ github.event.label.name }}")] | join(",")')
1616
gh issue edit ${{ github.event.issue.number }} --remove-label "$labels_to_remove" --add-label "${{ github.event.label.name }}"

0 commit comments

Comments
 (0)