Skip to content

feat: Add x-sdk-ruby-* extensions to bapi/2021-02-05 #5

feat: Add x-sdk-ruby-* extensions to bapi/2021-02-05

feat: Add x-sdk-ruby-* extensions to bapi/2021-02-05 #5

name: Create Linear ticket
on:
pull_request:
types: [opened]
jobs:
linear-ticket:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Create Linear ticket
id: createIssue
uses: ctriolo/[email protected]
with:
linear-api-key: ${{ secrets.LINEAR_API_KEY }}
linear-team-key: "ECO"
linear-issue-title: ${{ github.event.pull_request.title }}
linear-issue-description: ${{ github.event.pull_request.body }}
linear-attachment-url: ${{ github.event.pull_request.html_url }}
linear-attachment-title: ${{ github.event.pull_request.title }}
- name: Create comment for Linear ticket link
uses: marocchino/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.CLERK_COOKIE_PAT }}
number: ${{ github.event.issue.number }}
header: linear-issue-url
message: |
A Linear ticket has been created for this PR: ${{ steps.createIssue.outputs.linear-issue-url }}