pr-has-issues-action

Crates.iopr-has-issues-action
lib.rspr-has-issues-action
version2.0.0
sourcesrc
created_at2023-04-14 18:58:00.403468
updated_at2023-04-14 18:58:00.403468
descriptionA GitHub action that checks for issues references in pull requests.
homepagehttps://github.com/ngerakines/pr-has-issues-action
repositoryhttps://github.com/ngerakines/pr-has-issues-action
max_upload_size
id839373
size9,995
Nick Gerakines (ngerakines)

documentation

README

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-
Commit count: 24

cargo fmt