When adding an Execution Listener to a project with an external engine, there are missing dependencies #13
This file contains hidden or 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: Sync GitHub issue | |
| on: | |
| issues: | |
| types: [opened] | |
| jobs: | |
| sync-issue: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Sync issue | |
| shell: bash | |
| run: | | |
| jq -n \ | |
| --arg title "${{ github.event.issue.title }}" \ | |
| --arg issueUrl "${{ github.event.issue.html_url }}" \ | |
| --arg assigneeId "${{ secrets.DEFAULT_ASSIGNED_USER }}" \ | |
| '{ | |
| title: $title, | |
| description: ("GitHub issue:\n[" + $issueUrl + "](" + $issueUrl + ")"), | |
| assignedUsers: [ | |
| { | |
| id: $assigneeId | |
| } | |
| ], | |
| status: { | |
| id: "OPEN" | |
| } | |
| }' > payload.json | |
| cat payload.json | |
| curl --fail-with-body --request POST \ | |
| --url "${{ secrets.REPOSITORY_URL }}" \ | |
| --header "Content-Type: application/json" \ | |
| --header "Authorization: token ${{ secrets.REPOSITORY_TOKEN }}" \ | |
| --data @payload.json |