Skip to content

Commit

Permalink
Merge pull request #8 from risc0/paulg/linear
Browse files Browse the repository at this point in the history
adding linear workflow
  • Loading branch information
pdg744 authored Jan 9, 2025
2 parents 7ff2b84 + 5896364 commit 8fcc866
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 8fcc866

Please sign in to comment.