Skip to content

Commit 560c8e1

Browse files
committed
issue-labeler workflow customization for dotnet/aspnetcore
1 parent c3ea5fb commit 560c8e1

File tree

4 files changed

+2
-13
lines changed

4 files changed

+2
-13
lines changed

.github/workflows/labeler-cache-retention.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name: "Labeler: Cache Retention"
66

77
on:
88
schedule:
9-
- cron: "42 18 * * *" # 18:42 every day (arbitrary time daily)
9+
- cron: "32 16 * * *" # 16:32 every day (arbitrary time daily)
1010

1111
workflow_dispatch:
1212
inputs:

.github/workflows/labeler-predict-issues.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ env:
2424
LABEL_PREFIX: "area-"
2525
THRESHOLD: 0.40
2626
DEFAULT_LABEL: "needs-area-label"
27-
EXCLUDED_AUTHORS: "" # Comma-separated list of authors to exclude from training data
2827

2928
jobs:
3029
predict-issue-label:
@@ -51,7 +50,6 @@ jobs:
5150
label_prefix: ${{ env.LABEL_PREFIX }}
5251
threshold: ${{ env.THRESHOLD }}
5352
default_label: ${{ env.DEFAULT_LABEL }}
54-
excluded_authors: ${{ env.EXCLUDED_AUTHORS }}
5553
env:
5654
GITHUB_TOKEN: ${{ github.token }}
5755
continue-on-error: ${{ !env.ALLOW_FAILURE }}

.github/workflows/labeler-predict-pulls.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ env:
3737
LABEL_PREFIX: "area-"
3838
THRESHOLD: 0.40
3939
DEFAULT_LABEL: "needs-area-label"
40-
EXCLUDED_AUTHORS: "" # Comma-separated list of authors to exclude from training data
4140

4241
jobs:
4342
predict-pull-label:
@@ -64,7 +63,6 @@ jobs:
6463
label_prefix: ${{ env.LABEL_PREFIX }}
6564
threshold: ${{ env.THRESHOLD }}
6665
default_label: ${{ env.DEFAULT_LABEL }}
67-
excluded_authors: ${{ env.EXCLUDED_AUTHORS }}
6866
env:
6967
GITHUB_TOKEN: ${{ github.token }}
7068
continue-on-error: ${{ !env.ALLOW_FAILURE }}

.github/workflows/labeler-train.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ on:
2525
- "Train Model"
2626
- "Test Model"
2727

28-
repository:
29-
description: "The org/repo to download data from. Defaults to the current repository."
3028
limit:
3129
description: "Max number of items to download for training/testing the model (newest items are used). Defaults to the max number of pages times the page size."
3230
type: number
@@ -43,13 +41,12 @@ on:
4341

4442
env:
4543
CACHE_KEY: ${{ inputs.cache_key_suffix }}
46-
REPOSITORY: ${{ inputs.repository || github.repository }}
44+
REPOSITORY: ${{ github.repository }}
4745
LABEL_PREFIX: "area-"
4846
THRESHOLD: "0.40"
4947
LIMIT: ${{ inputs.limit }}
5048
PAGE_SIZE: ${{ inputs.page_size }}
5149
PAGE_LIMIT: ${{ inputs.page_limit }}
52-
EXCLUDED_AUTHORS: "" # Comma-separated list of authors to exclude from training data
5350

5451
jobs:
5552
download-issues:
@@ -68,7 +65,6 @@ jobs:
6865
limit: ${{ env.LIMIT }}
6966
page_size: ${{ env.PAGE_SIZE }}
7067
page_limit: ${{ env.PAGE_LIMIT }}
71-
excluded_authors: ${{ env.EXCLUDED_AUTHORS }}
7268
env:
7369
GITHUB_TOKEN: ${{ github.token }}
7470

@@ -88,7 +84,6 @@ jobs:
8884
limit: ${{ env.LIMIT }}
8985
page_size: ${{ env.PAGE_SIZE }}
9086
page_limit: ${{ env.PAGE_LIMIT }}
91-
excluded_authors: ${{ env.EXCLUDED_AUTHORS }}
9287
env:
9388
GITHUB_TOKEN: ${{ github.token }}
9489

@@ -136,7 +131,6 @@ jobs:
136131
limit: ${{ env.LIMIT }}
137132
page_size: ${{ env.PAGE_SIZE }}
138133
page_limit: ${{ env.PAGE_LIMIT }}
139-
excluded_authors: ${{ env.EXCLUDED_AUTHORS }}
140134
env:
141135
GITHUB_TOKEN: ${{ github.token }}
142136

@@ -158,6 +152,5 @@ jobs:
158152
limit: ${{ env.LIMIT }}
159153
page_size: ${{ env.PAGE_SIZE }}
160154
page_limit: ${{ env.PAGE_LIMIT }}
161-
excluded_authors: ${{ env.EXCLUDED_AUTHORS }}
162155
env:
163156
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)