Skip to content

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

Notifications You must be signed in to change notification settings

Mergifyio/gha-add-linear-author-as-reviewer

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

add-linear-author-as-reviewer

This project is a GitHub action that requests a review from the Linear issue 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 }}
           LINEAR_ISSUE_REGEX: "MRGFY-\d+"
           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

About

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

Resources

Security policy

Stars

Watchers

Forks

Languages