Skip to content

Create Linear Issue on Discussions #11

Create Linear Issue on Discussions

Create Linear Issue on Discussions #11

name: Create Linear Issue on Discussions
on:
discussion:
types: [created]
jobs:
create-linear-issue-on-discussion:
runs-on: ubuntu-latest
steps:
- name: Create the Linear Issue
id: createIssue
uses: ctriolo/[email protected]
with:
linear-api-key: ${{secrets.LINEAR_API_KEY}}
linear-team-key: "TRI"
linear-issue-title: ${{github.event.discussion.title}}
linear-issue-description: ${{github.event.discussion.body}}
linear-attachment-url: ${{github.event.discussion.html_url}}
linear-attachment-title: ${{github.event.discussion.title}}