#github-action #issue #check #reference #pull-request #title #body

app pr-has-issues-action

A GitHub action that checks for issues references in pull requests

1 stable release

2.0.0 Apr 14, 2023

#22 in #github-action

MIT license

5KB
77 lines

PR Has Issues GitHub Action

This action checks for issue references in a PR title and body.

Inputs

prefixes

Required A comma separated list of issue key prefixes.

Example value: ISSUE- or PLAT-,ENG-,IT-

Outputs

n/a

Example usage

name: PR

on:
  pull_request:
    types: [opened, reopened, edited, ready_for_review]

concurrency:
  group: ${{ github.workflow }}-${{ github.ref }}
  cancel-in-progress: true

jobs:
  check:
    name: Check
    runs-on: ubuntu-latest
    steps:
      - uses: ngerakines/pr-has-issues-action
        with:
          prefixes: PLAT-,ENG-,IT-

Dependencies

~0.8–1.7MB
~36K SLoC