Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
at-sign

GitHub Action

add-linear-author-as-reviewer

1.0.1

add-linear-author-as-reviewer

at-sign

add-linear-author-as-reviewer

Add Linear author as reviewer

Installation

Copy and paste the following snippet into your .yml file.

              

- name: add-linear-author-as-reviewer

uses: Mergifyio/[email protected]

Learn more about this action in Mergifyio/gha-add-linear-author-as-reviewer

Choose a version

linear-author-to-gh-reviewers

This project is a GitHub action that request review of the Linear author.

Usage example:

name: Linear automation

on:
  pull_request:
    branches: [ "main" ]
    types: [ "opened", "synchronize", "reopened", "edited" ]


permissions: write-all

jobs:
  add-linear-author-as-reviewer:
    runs-on: ubuntu-latest
    steps:
      - name: Add reviewers
        uses: Mergifyio/add-linear-author-as-reviewer@main
        with:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
           LINEAR_API_KEY: ${{ secrets.LINEAR_API_KEY }}
           EMAIL_MAPPING: ${{ vars.EMAIL_MAPPING }}

The email mapping GitHub Action variables format is:

[email protected] github-user-login-1
[email protected] github-user-login-2