Skip to content

build: Renovate custom manager for melos.yaml #237

build: Renovate custom manager for melos.yaml

build: Renovate custom manager for melos.yaml #237

Workflow file for this run

name: Auto assign ✌️
on:
pull_request:
types: [opened, synchronize]
jobs:
assign:
if: |
github.event.pull_request.user.type == 'User'
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
timeout-minutes: 5
steps:
- uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
with:
script: |
const assignees = context.payload.pull_request.assignees
if (!assignees || assignees.length === 0) {
github.rest.issues.addAssignees({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
assignees: `${{ github.actor }}`,
})
}