Skip to content

Commit

Permalink
chore: sync issues to height (#218)
Browse files Browse the repository at this point in the history
* chore: sync issues to height
  • Loading branch information
foodaka authored Feb 8, 2023
1 parent 5cb8ed0 commit 45afb97
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions sync-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Sync Issue to Height

on:
issues:
types: [opened]

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Sync issue
uses: fjogeleit/http-request-action@v1
with:
url: 'https://api.height.app/tasks'
method: 'POST'
customHeaders: '{ "Content-Type": "application/json", "Authorization": "api-key ${{ secrets.HEIGHT_SECRET_TOKEN }}" }'
data: '{ "name": "${{ github.event.issue.title }}", "listIds": ["64fa570a-a252-4521-b801-9b0eb18113bc"], "status": "359d42b4-5e7b-46fa-8465-d179b5a097ef" }'

0 comments on commit 45afb97

Please sign in to comment.