Skip to content

Bump grpcio from 1.54.2 to 1.54.3 #8

Bump grpcio from 1.54.2 to 1.54.3

Bump grpcio from 1.54.2 to 1.54.3 #8

Workflow file for this run

name: Assign issue
on:
issue_comment:
types: [created]
jobs:
assignbot:
runs-on: ubuntu-latest
steps:
- name: Assign issue
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const payload = context.payload;
const issue = context.issue;
const isFromPulls = !!payload.issue.pull_request;
const commentBody = payload.comment.body;
if (!isFromPulls && commentBody && commentBody.indexOf("/assign") == 0) {
if (!issue.assignees || issue.assignees.length === 0) {
await github.rest.issues.addAssignees({
owner: issue.owner,
repo: issue.repo,
issue_number: issue.number,
assignees: [context.actor],
})
}
return;
}