diff --git a/.github/workflows/pr-checker.yml b/.github/workflows/pr-checker.yml index 5b4c111..eff70df 100644 --- a/.github/workflows/pr-checker.yml +++ b/.github/workflows/pr-checker.yml @@ -1,5 +1,4 @@ name: PR Issue Checker -# Created my @smog-root. on: pull_request: types: [opened, edited] @@ -10,7 +9,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Check PR Description id: check_pr_description @@ -22,8 +21,7 @@ jobs: fi if [[ ! "$PR_DESCRIPTION" =~ Fixes\ #[0-9]+ ]]; then - echo "The PR description should include 'Fixes #' if not addressing any issue." - echo "##[error]Fixes #NEW must be included in the description." + echo "##[error]PR description must include 'Fixes #' (for example: 'Fixes #123')." exit 1 fi