Skip to content

upgrade: update dependency dart to v3.1.4 #3

upgrade: update dependency dart to v3.1.4

upgrade: update dependency dart to v3.1.4 #3

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