Skip to content

Commit ee10deb

Browse files
committed
CI: We run the labeler now manually one time
I tried to fix this automatically. It is cumbersome testing the changes. We don't adjust the label configuration often. Manual execution is fine in this case.
1 parent 190744d commit ee10deb

File tree

1 file changed

+28
-15
lines changed

1 file changed

+28
-15
lines changed

.github/workflows/label-pull-requests-all.yml

+28-15
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,35 @@ jobs:
1616
runs-on: ubuntu-latest
1717
if: (github.actor != 'dependabot[bot]')
1818
steps:
19-
# Get all Pull Request numbers
20-
- run: |
21-
listOpenIssues="$(gh pr list --repo andygrunwald/go-jira --state open --limit 100 --json number --jq '.[].number')"
22-
23-
echo 'LIST_OPEN_ISSUES<<EOF' >> $GITHUB_OUTPUT
24-
echo $listOpenIssues >> $GITHUB_OUTPUT
25-
echo 'EOF' >> $GITHUB_OUTPUT
26-
id: find_all_open_prs
27-
env:
28-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29-
30-
- name: Check Pull Requests
31-
run: echo ${{ steps.find_all_open_prs.outputs.LIST_OPEN_ISSUES }}
32-
3319
- uses: actions/labeler@v5
3420
with:
3521
sync-labels: false
22+
# Output of gh pr list --repo andygrunwald/go-jira --state open --limit 100 --json number --jq ".[].number"
3623
pr-number: |
37-
${{ steps.find_all_open_prs.outputs.LIST_OPEN_ISSUES }}
24+
695
25+
683
26+
682
27+
679
28+
676
29+
670
30+
658
31+
655
32+
648
33+
646
34+
640
35+
637
36+
635
37+
630
38+
626
39+
611
40+
595
41+
499
42+
471
43+
465
44+
461
45+
431
46+
425
47+
398
48+
372
49+
369
50+
300

0 commit comments

Comments
 (0)