Skip to content

Update actions/checkout action to v4.1.7 #42

Update actions/checkout action to v4.1.7

Update actions/checkout action to v4.1.7 #42

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