From 54f90d749e427a6902ae632f065ff31f7721f118 Mon Sep 17 00:00:00 2001 From: nedsalk Date: Fri, 27 Sep 2024 11:18:24 +0200 Subject: [PATCH 1/4] integrate linear with PR --- .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 0000000000..fc1e8a8c25 --- /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 }} From 3136ce62f882276d7b1d13abfbe3c8f4ab61df2f Mon Sep 17 00:00:00 2001 From: nedsalk Date: Fri, 27 Sep 2024 11:25:54 +0200 Subject: [PATCH 2/4] test out --- .github/workflows/linear-pr-integration.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linear-pr-integration.yaml b/.github/workflows/linear-pr-integration.yaml index fc1e8a8c25..a4d90065ab 100644 --- a/.github/workflows/linear-pr-integration.yaml +++ b/.github/workflows/linear-pr-integration.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: FuelLabs/github-actions/linear/link-pr-to-linear-issue@master + - uses: FuelLabs/github-actions/linear/link-pr-to-linear-issue@ns/fix/pr-linear-integration with: pull_number: ${{ github.event.pull_request.number }} linear_api_key: ${{ secrets.LINEAR_TOKEN }} From e6ed6cba3b5004fca2c1de6beb59f69f46f5e16c Mon Sep 17 00:00:00 2001 From: nedsalk Date: Fri, 27 Sep 2024 11:32:52 +0200 Subject: [PATCH 3/4] Revert "test out" This reverts commit 3136ce62f882276d7b1d13abfbe3c8f4ab61df2f. --- .github/workflows/linear-pr-integration.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/linear-pr-integration.yaml b/.github/workflows/linear-pr-integration.yaml index a4d90065ab..fc1e8a8c25 100644 --- a/.github/workflows/linear-pr-integration.yaml +++ b/.github/workflows/linear-pr-integration.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: FuelLabs/github-actions/linear/link-pr-to-linear-issue@ns/fix/pr-linear-integration + - 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 }} From 26bfcc569adb5c8dd113266c03efdcd787c69ce9 Mon Sep 17 00:00:00 2001 From: nedsalk Date: Fri, 27 Sep 2024 11:53:47 +0200 Subject: [PATCH 4/4] Trigger build