Skip to content

Commit 76002bf

Browse files
committed
Merge remote-tracking branch 'dotnet/main'
2 parents a7bb9c2 + 6dfebc3 commit 76002bf

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

.github/workflows/labeler-train.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,19 @@ jobs:
7373
# threshold: 0.40
7474

7575
build-predictor:
76-
uses: dotnet/issue-labeler/.github/workflows/build-predictor.yml@68a3df3b6444ec3e2a37af4d5e2569df1d45201d # v1.0.1
76+
permissions:
77+
issues: read
78+
pull-requests: read
79+
actions: write
80+
uses: dotnet/issue-labeler/.github/workflows/build-predictor.yml@f0c098669828a134c0313adf3f58c1909e555d86 # v1.0.1
7781

7882
labeler-download-issues:
7983
needs: build-predictor
8084
if: ${{ inputs.download_issues }}
8185
permissions:
8286
issues: read
8387
actions: write
84-
uses: dotnet/issue-labeler/.github/workflows/download-issues.yml@68a3df3b6444ec3e2a37af4d5e2569df1d45201d # v1.0.1
88+
uses: dotnet/issue-labeler/.github/workflows/download-issues.yml@f0c098669828a134c0313adf3f58c1909e555d86 # v1.0.1
8589
with:
8690
data_cache_key: ${{ inputs.cache_key_suffix }}
8791
issue_limit: ${{ inputs.data_limit && fromJSON(inputs.data_limit) || 0 }}
@@ -92,15 +96,15 @@ jobs:
9296
if: ${{ inputs.train_issues && always() && (needs.labeler-download-issues.result == 'success' || needs.labeler-download-issues.result == 'skipped') }}
9397
permissions:
9498
actions: write
95-
uses: dotnet/issue-labeler/.github/workflows/train-issues.yml@68a3df3b6444ec3e2a37af4d5e2569df1d45201d # v1.0.1
99+
uses: dotnet/issue-labeler/.github/workflows/train-issues.yml@f0c098669828a134c0313adf3f58c1909e555d86 # v1.0.1
96100
with:
97101
data_cache_key: ${{ inputs.cache_key_suffix }}
98102
model_cache_key: ${{ inputs.cache_key_suffix }}
99103

100104
labeler-test-issues:
101105
needs: [labeler-download-issues, labeler-train-issues]
102106
if: ${{ inputs.test_issues && always() && (needs.labeler-download-issues.result == 'success' || needs.labeler-download-issues.result == 'skipped') && (needs.labeler-train-issues.result == 'success' || needs.labeler-train-issues.result == 'skipped') }}
103-
uses: dotnet/issue-labeler/.github/workflows/test-issues.yml@68a3df3b6444ec3e2a37af4d5e2569df1d45201d # v1.0.1
107+
uses: dotnet/issue-labeler/.github/workflows/test-issues.yml@f0c098669828a134c0313adf3f58c1909e555d86 # v1.0.1
104108
with:
105109
model_cache_key: ${{ inputs.cache_key_suffix }}
106110
label_prefix: "area-"
@@ -112,7 +116,7 @@ jobs:
112116
permissions:
113117
pull-requests: read
114118
actions: write
115-
uses: dotnet/issue-labeler/.github/workflows/download-pulls.yml@68a3df3b6444ec3e2a37af4d5e2569df1d45201d # v1.0.1
119+
uses: dotnet/issue-labeler/.github/workflows/download-pulls.yml@f0c098669828a134c0313adf3f58c1909e555d86 # v1.0.1
116120
with:
117121
data_cache_key: ${{ inputs.cache_key_suffix }}
118122
pull_limit: ${{ inputs.data_limit && fromJSON(inputs.data_limit) || 0 }}
@@ -124,15 +128,15 @@ jobs:
124128
if: ${{ inputs.train_pulls && always() && (needs.labeler-download-pulls.result == 'success' || needs.labeler-download-pulls.result == 'skipped') }}
125129
permissions:
126130
actions: write
127-
uses: dotnet/issue-labeler/.github/workflows/train-pulls.yml@68a3df3b6444ec3e2a37af4d5e2569df1d45201d # v1.0.1
131+
uses: dotnet/issue-labeler/.github/workflows/train-pulls.yml@f0c098669828a134c0313adf3f58c1909e555d86 # v1.0.1
128132
with:
129133
data_cache_key: ${{ inputs.cache_key_suffix }}
130134
model_cache_key: ${{ inputs.cache_key_suffix }}
131135

132136
labeler-test-pulls:
133137
needs: [labeler-download-pulls, labeler-train-pulls]
134138
if: ${{ inputs.test_pulls && always() && (needs.labeler-download-pulls.result == 'success' || needs.labeler-download-pulls.result == 'skipped') && (needs.labeler-train-pulls.result == 'success' || needs.labeler-train-pulls.result == 'skipped') }}
135-
uses: dotnet/issue-labeler/.github/workflows/test-pulls.yml@68a3df3b6444ec3e2a37af4d5e2569df1d45201d # v1.0.1
139+
uses: dotnet/issue-labeler/.github/workflows/test-pulls.yml@f0c098669828a134c0313adf3f58c1909e555d86 # v1.0.1
136140
with:
137141
model_cache_key: ${{ inputs.cache_key_suffix }}
138142
label_prefix: "area-"

0 commit comments

Comments
 (0)