Skip to content

chore: Map x-sdk-ruby-* to bapi/2024-10-01 #8

chore: Map x-sdk-ruby-* to bapi/2024-10-01

chore: Map x-sdk-ruby-* to bapi/2024-10-01 #8

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 }}