Skip to content

Commit

Permalink
adding linear workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pdg744 committed Jan 9, 2025
1 parent fa372e9 commit f7fcdf6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/linear.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Find or Create Linear Issue for PR

on:
workflow_dispatch:
pull_request:
branches:
- main
types: ["opened", "edited", "reopened", "synchronize"]

permissions:
pull-requests: write
repository-projects: read

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: false

jobs:
create-linear-issue-pr:
runs-on: ubuntu-latest
steps:
- name: Find or create a Linear Issue
uses: risc0/action-find-or-create-linear-issue@risc0
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
linear-api-key: ${{ secrets.LINEAR_API_KEY }}
linear-team-key: "ZKVM"
linear-created-issue-state-id: "791f9982-af09-4b03-99b3-717754da12d0" # in-progress

0 comments on commit f7fcdf6

Please sign in to comment.