mirror of
https://github.com/logos-messaging/nim-ffi.git
synced 2026-06-26 03:09:31 +00:00
add auto-assign pr author (#54)
This commit is contained in:
parent
e99220a3e4
commit
94ee6603ff
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@ -207,3 +207,17 @@ jobs:
|
||||
sanitizer: tsan
|
||||
nim-versions: ${{ needs.versions.outputs.nim-versions }}
|
||||
nimble-version: ${{ needs.versions.outputs.nimble }}
|
||||
|
||||
auto-assign:
|
||||
name: Auto-assign PR author
|
||||
if: github.event_name == 'pull_request' && github.event.action == 'opened'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
pull-requests: write
|
||||
steps:
|
||||
- run: gh pr edit "$PR" --repo "$REPO" --add-assignee "$AUTHOR"
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
REPO: ${{ github.repository }}
|
||||
PR: ${{ github.event.pull_request.number }}
|
||||
AUTHOR: ${{ github.event.pull_request.user.login }}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user