How to handle Multiple types of items? #1101
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: 'assign issues' | |
on: | |
issue_comment: | |
types: [created, edited] | |
jobs: | |
assign_issues: | |
name: assign issues | |
if: ${{ !github.event.issue.pull_request && github.event.comment.body == '/assign' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Assign issue' | |
uses: pozil/[email protected] | |
with: | |
assignees: ${{ github.event.comment.user.login }} |