Skip to content

Commit 5c00806

Browse files
authored
adding linear workflow (#6)
1 parent fa372e9 commit 5c00806

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/linear.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Find or Create Linear Issue for PR
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
branches:
7+
- main
8+
types: ["opened", "edited", "reopened", "synchronize"]
9+
10+
permissions:
11+
pull-requests: write
12+
repository-projects: read
13+
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
16+
cancel-in-progress: false
17+
18+
jobs:
19+
create-linear-issue-pr:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- name: Find or create a Linear Issue
23+
uses: risc0/action-find-or-create-linear-issue@risc0
24+
with:
25+
github-token: ${{ secrets.GITHUB_TOKEN }}
26+
linear-api-key: ${{ secrets.LINEAR_API_KEY }}
27+
linear-team-key: "ZKVM"
28+
linear-created-issue-state-id: "791f9982-af09-4b03-99b3-717754da12d0" # in-progress

0 commit comments

Comments
 (0)