Skip to content

upgrade: update dependency dart to v3.5.4 - autoclosed #271

upgrade: update dependency dart to v3.5.4 - autoclosed

upgrade: update dependency dart to v3.5.4 - autoclosed #271

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 }}`,
})
}