🆙bump: update dependencies #249
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto Assign | |
on: | |
issues: | |
types: | |
- opened | |
- reopened | |
pull_request_target: | |
types: | |
- opened | |
- reopened | |
env: | |
GH_TOKEN: ${{ github.token }} | |
jobs: | |
assign: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Choose an Assignee | |
run: echo ASSIGNEE=$(shuf -e HaradaTakayuki kazutan1230 Marukome0743 tanePON -n 1) >> $GITHUB_ENV | |
- name: Assign Issue | |
if: github.event_name == 'issues' && toJSON(github.event.issue.assignees) == '[]' | |
run: gh issue edit ${{ github.event.issue.number }} --add-assignee ${{ env.ASSIGNEE }} --repo ${{ github.repository }} | |
- name: Assign Pull Request | |
if: github.event_name == 'pull_request_target' && toJSON(github.event.pull_request.assignees) == '[]' | |
run: gh pr edit ${{ github.event.pull_request.number }} --add-assignee ${{ env.ASSIGNEE }} --repo ${{ github.repository }} |