Skip to content

feat: retarget the canton stack and split stack config into modules #3

feat: retarget the canton stack and split stack config into modules

feat: retarget the canton stack and split stack config into modules #3

Workflow file for this run

name: pr-assign
on:
pull_request:
types: [opened]
permissions:
pull-requests: write
jobs:
assign-author:
name: assign author
runs-on: ubuntu-latest
# Skip fork PRs (their read-only token would make the assign error) and bot authors.
if: ${{ github.event.pull_request.head.repo.full_name == github.repository && !endsWith(github.event.pull_request.user.login, '[bot]') }}
steps:
- name: Assign the author
env:
GH_TOKEN: ${{ github.token }}
PR_URL: ${{ github.event.pull_request.html_url }}
AUTHOR: ${{ github.event.pull_request.user.login }}
run: gh pr edit "$PR_URL" --add-assignee "$AUTHOR"