mirror of https://github.com/status-im/go-waku.git
Create workflow for automatic assignment of a PR to its creator (#754)
* Create workflow for automatic assignment of a PR to its creator Create workflow for automatic assignment of a PR to its creator. * fix add assignee flag
This commit is contained in:
parent
81638fe111
commit
bf90ab4d1b
|
@ -0,0 +1,16 @@
|
|||
name: Auto Assign PR to Creator
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
|
||||
jobs:
|
||||
assign_creator:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Assign PR to author
|
||||
run: |
|
||||
gh pr update ${{ github.event.pull_request.number }} --add-assignee "${{ github.event.pull_request.user.login }}"
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue