Skip to content

Update actions/checkout action to v4.2.2 #61

Update actions/checkout action to v4.2.2

Update actions/checkout action to v4.2.2 #61

Workflow file for this run

name: Manage PR
on:
pull_request:
types: [opened, reopened, edited, synchronize]
jobs:
assign:
runs-on: ubuntu-latest
steps:
- name: Assign author to PR
uses: technote-space/assign-author@9558557c5c4816f38bd06176fbc324ba14bb3160 # v1.6.2
validate:
if: startsWith(github.event.pull_request.title, 'Ignore')
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