Skip to content

chore(deps-dev): bump turbo from 2.8.3 to 2.9.14 in the npm_and_yarn group across 1 directory #575

chore(deps-dev): bump turbo from 2.8.3 to 2.9.14 in the npm_and_yarn group across 1 directory

chore(deps-dev): bump turbo from 2.8.3 to 2.9.14 in the npm_and_yarn group across 1 directory #575

Workflow file for this run

name: PR Issue Link
on:
pull_request:
types:
- opened
- edited
- reopened
- synchronize
- ready_for_review
permissions:
contents: read
pull-requests: read
concurrency:
group: pr-issue-link-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
enforce-issue-link:
name: Enforce issue-linked PRs
runs-on: ubuntu-latest
env:
PR_BODY: ${{ github.event.pull_request.body || '' }}
steps:
- name: Validate PR body links a GitHub issue
shell: bash
run: |
set -euo pipefail
shopt -s nocasematch
pattern='(close[sd]?|fix(es|ed)?|resolve[sd]?|part of|related to):?[[:space:]]+([[:alnum:]_.-]+/[[:alnum:]_.-]+)?#[0-9]+'
if [[ "$PR_BODY" =~ $pattern ]]; then
echo "Issue link found in PR body."
exit 0
fi
echo "PR body must link a GitHub issue. Accepted (case-insensitive, optional colon): close/closes/closed, fix/fixes/fixed, resolve/resolves/resolved, Part of, Related to -- followed by #123 or owner/repo#123." >&2
exit 1