We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa372e9 commit 5c00806Copy full SHA for 5c00806
1 file changed
.github/workflows/linear.yml
@@ -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