forked from strands-agents/harness-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (54 loc) · 1.47 KB
/
Copy pathissue-labeler.yml
File metadata and controls
59 lines (54 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
name: Issue Labeler
on:
issues:
types: [opened]
pull_request_target:
types: [opened]
permissions:
issues: write
pull-requests: write
id-token: write
contents: read
jobs:
label-area:
name: "Label: Area"
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: actions/checkout@v7
with:
sparse-checkout: .github/labelers
sparse-checkout-cone-mode: false
- uses: strands-agents/devtools/issue-labeler@main
with:
aws_role_arn: ${{ secrets.AWS_ROLE_ARN }}
config_path: '.github/labelers/area.yml'
max_labels: '2'
label-type:
name: "Label: Type"
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: actions/checkout@v7
with:
sparse-checkout: .github/labelers
sparse-checkout-cone-mode: false
- uses: strands-agents/devtools/issue-labeler@main
with:
aws_role_arn: ${{ secrets.AWS_ROLE_ARN }}
config_path: '.github/labelers/type.yml'
max_labels: '1'
label-language:
name: "Label: Language"
runs-on: ubuntu-latest
timeout-minutes: 2
steps:
- uses: actions/checkout@v7
with:
sparse-checkout: .github/labelers
sparse-checkout-cone-mode: false
- uses: strands-agents/devtools/issue-labeler@main
with:
aws_role_arn: ${{ secrets.AWS_ROLE_ARN }}
config_path: '.github/labelers/language.yml'
max_labels: '1'