Skip to content

'everyone' test issue #2

'everyone' test issue

'everyone' test issue #2

name: Create subissues for issues tagged with 'everyone'
on:
issues:
types: [labeled, assigned]
permissions: write-all
jobs:
createSubissues:
runs-on: ubuntu-latest
if: ${{ github.event.issue.labels.*.name == 'everyone' }}
strategy:
matrix:
assignee: ${{ github.event.issue.assignees.*.login }}
steps:
- name: Create subissue
run: gh issue create --title "${{ github.event.issue.title }}" --body ${{ github.event.issue.body }} --assignee ${{ matrix.assignee }}
env:
GH_TOKEN: ${{ github.token }}
continue-on-error: true