Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Improve to clarify TypeForwardedToAttribute#231

Improve to clarify TypeForwardedToAttribute

Improve to clarify TypeForwardedToAttribute #231

# Workflow template imported and updated from:
# https://github.com/dotnet/issue-labeler/wiki/Onboarding
#
# See labeler.md for more information
#
# Predict labels for Issues using a trained model
name:"Labeler: Predict (Issues)"
on:
# Only automatically predict area labels when issues are first opened
issues:
types:opened
# Allow dispatching the workflow via the Actions UI, specifying ranges of numbers
workflow_dispatch:
inputs:
issues:
description:"Issue Numbers (comma-separated list of ranges)."
required:true
cache_key:
description:"The cache key suffix to use for restoring the model. Defaults to 'ACTIVE'."
required:true
default:"ACTIVE"
env:
# Do not allow failure for jobs triggered automatically (as this causes red noise on the workflows list)
ALLOW_FAILURE:${{ github.event_name == 'workflow_dispatch' }}
LABEL_PREFIX:"area-"
THRESHOLD:0.40
DEFAULT_LABEL:"needs-area-label"
jobs:
predict-issue-label:
# Do not automatically run the workflow on forks outside the 'dotnet' org
if:${{ github.event_name == 'workflow_dispatch' || github.repository_owner == 'dotnet' }}
runs-on:ubuntu-latest
permissions:
issues:write
steps:
-name:"Restore issues model from cache"
id:restore-model
uses:dotnet/issue-labeler/restore@46125e85e6a568dc712f358c39f35317366f5eed# v2.0.0
with:
type:issues
fail-on-cache-miss:${{ env.ALLOW_FAILURE }}
quiet:true
-name:"Predict issue labels"
id:prediction
if:${{ steps.restore-model.outputs.cache-hit == 'true' }}
uses:dotnet/issue-labeler/predict@46125e85e6a568dc712f358c39f35317366f5eed# v2.0.0
with:
issues:${{ inputs.issues || github.event.issue.number }}
label_prefix:${{ env.LABEL_PREFIX }}
threshold:${{ env.THRESHOLD }}
default_label:${{ env.DEFAULT_LABEL }}
env:
GITHUB_TOKEN:${{ github.token }}
continue-on-error:${{ !env.ALLOW_FAILURE }}

[8]ページ先頭

©2009-2025 Movatter.jp