Skip to content

Update actions/checkout action to v4.2.2 #54

Update actions/checkout action to v4.2.2

Update actions/checkout action to v4.2.2 #54

Workflow file for this run

name: Manage PR
on:
pull_request:
types: [opened, reopened, edited]
jobs:
assign:
runs-on: ubuntu-latest
steps:
- name: Assign author to PR
uses: technote-space/assign-author@9558557c5c4816f38bd06176fbc324ba14bb3160 # v1.6.2
validate:
runs-on: ubuntu-latest
steps:
- name: Validate PR description
env:
description: ${{ github.event.pull_request.body }}
run: |
if ! grep -iP '(close(s|d)?|fix(es|ed)?|resolve(s|d)?)\s+(https://github.com/[^/]+/[^/]+/issues/|#)\d+' <<<"${description:?}"; then
echo "ERROR: Failed to find an issue closing keyword in the pull request description" >&2
exit 2
fi