Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WEB3-49: Add workflow to find or create Linear issue from PR #129

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions .github/workflows/linear.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
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: "WEB3"
linear-created-issue-state-id: "2505ebd6-1fbe-4b25-b2a8-792dfaa50ad9" # in progress
Loading