From 465bd5ceb96e60669bfb099c6762613e8a128675 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nedim=20Salki=C4=87?= Date: Fri, 27 Sep 2024 12:21:21 +0200 Subject: [PATCH] chore: link PRs with Linear issues (#3220) --- .github/workflows/linear-pr-integration.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/linear-pr-integration.yaml diff --git a/.github/workflows/linear-pr-integration.yaml b/.github/workflows/linear-pr-integration.yaml new file mode 100644 index 00000000000..fc1e8a8c259 --- /dev/null +++ b/.github/workflows/linear-pr-integration.yaml @@ -0,0 +1,17 @@ +name: Linear Issue To PR Linker + +on: + pull_request: + types: [opened, edited] + +jobs: + link-pr-to-linear-issues: + name: "Link PR to Linear issues" + runs-on: ubuntu-latest + + steps: + - uses: FuelLabs/github-actions/linear/link-pr-to-linear-issue@master + with: + pull_number: ${{ github.event.pull_request.number }} + linear_api_key: ${{ secrets.LINEAR_TOKEN }} + github_token: ${{ secrets.REPO_TOKEN }}