Skip to content

Verify Linked Issue In PRs #5903

Verify Linked Issue In PRs

Verify Linked Issue In PRs #5903

name: Verify Linked Issue In PRs
on:
pull_request_target:
types: [edited, synchronize, opened, reopened]
check_run:
permissions:
contents: read
jobs:
verify_linked_issue:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
permissions:
issues: write
pull-requests: write
steps:
- name: Verify Linked Issue
uses: hattan/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
message: 'Thanks a lot for your contribution! But, PR does not seem to be linked to any issues. Please [manually link to an issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#manually-linking-a-pull-request-or-branch-to-an-issue-using-the-issue-sidebar) or mention it in the description using #<issue_id>.'