mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-05 23:43:05 +00:00
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
16
.github/workflows/auto_assign_pr.yml
vendored
Normal file
16
.github/workflows/auto_assign_pr.yml
vendored
Normal file
@ -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…
x
Reference in New Issue
Block a user