Ignore npm ip package vulnerability #25
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |