Skip to content

Commit bc6e2be

Browse files
Update PR auto-assignee workflow configuration
Changed 'required' property for 'assign_yourself' to false and added default values for 'assignees' and 'reviewers'.
1 parent f10781b commit bc6e2be

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/pr-auto-assignee.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,17 @@ on:
88
description: 'A list of assignees(GitHub user name) to be added to PR'
99
required: true
1010
type: string
11+
default: true
1112
reviewers:
1213
description: 'A list of reviewers(GitHub user name) to be added to PRs'
1314
required: false
1415
type: string
16+
default: true
1517
assign_yourself:
1618
description: 'Whether to assign the PR opener as an assignee'
17-
required: true
19+
required: false
1820
type: boolean
21+
default: true
1922
secrets:
2023
GITHUB:
2124
description: 'Your GitHub token for authentication.'
@@ -45,4 +48,4 @@ jobs:
4548
issue_number: context.payload.pull_request.number,
4649
assignees:[ opener ]
4750
});
48-
...
51+
...

0 commit comments

Comments
 (0)