新規のタグをつける際にうまく保存されないときがある #3250
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
on: | |
issues: | |
types: [assigned, unassigned, labeled, unlabeled] | |
jobs: | |
post_issue_event: | |
runs-on: ubuntu-latest | |
steps: | |
- name: post assigned issue event | |
run: | | |
curl -f -X POST https://fjord-choice.herokuapp.com/api/issues \ | |
-H 'Content-Type: application/json' \ | |
-H 'Authorization: Token ${{ secrets.FJORD_CHOICE_TOKEN }}' \ | |
-d '{"number": ${{ github.event.issue.number }}, | |
"point": ${{ toJson(github.event.issue.labels.*.name) }}, | |
"assignee_uids": ${{ toJson(github.event.issue.assignees.*.id) }} | |
}' |