Skip to content

Commit 94fa995

Browse files
feat: added auto assign assignee to the PR workflow
1 parent 6ad1de0 commit 94fa995

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Shared Workflow- Auto Assign PRs
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
assignees:
7+
description: 'A list of assignees(GitHub user name) to be added to PR'
8+
required: true
9+
type: string
10+
11+
secrets:
12+
GITHUB:
13+
description: 'Your GitHub token for authentication.'
14+
required: true
15+
16+
jobs:
17+
assign-pr:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: wow-actions/auto-assign@v3
21+
with:
22+
GITHUB_TOKEN: ${{ secrets.GITHUB }}
23+
assignees: ${{ inputs.assignees }}

0 commit comments

Comments
 (0)