Skip to content

ZetaMinusOne/verify-linked-linear-issue-action

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

Verify Linked Linear Issue Action

GitHub Super-Linter CI Check dist/ CodeQL Coverage

A GitHub action that verifies your pull request contains a reference to a Linear issue.

On a PR that does not include a linked Linear issue placed by the Linear bot, the check should fail and a comment will be added to the PR.

Installation

As a part of an existing workflow

- name: Verify Linked Issue
  uses: ZetaMinusOne/verify-linked-linear-issue-action@v0
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Pleasure ensure the following types on the pull_request triggers:

  pull_request:
    types: [edited, synchronize, opened, reopened]

As a separate workflow

Trying it out

  • Create a new pull request and take care to not include a linked item or mention an issue.
  • The build should fail.
  • Edit the PR body or title and add a reference to a valid issue (e.g. LNR-123 )

About

Github action to verify that PR is linked to Linear issue.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Generated from actions/typescript-action