mirror of
https://github.com/logos-messaging/logos-messaging-go.git
synced 2026-01-04 06:53:06 +00:00
* 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 * update gh command
17 lines
364 B
YAML
17 lines
364 B
YAML
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 edit ${{ github.event.pull_request.number }} --add-assignee "${{ github.event.pull_request.user.login }}"
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|