diff --git a/.github/workflows/ci_verify_pr_contains_issue.yaml b/.github/workflows/ci_verify_pr_contains_issue.yaml new file mode 100644 index 0000000000..1b8b90a957 --- /dev/null +++ b/.github/workflows/ci_verify_pr_contains_issue.yaml @@ -0,0 +1,18 @@ +name: VerifyIssue + +on: + pull_request: + branches: [master] + types: [edited, synchronize, opened, reopened, ready_for_review] + check_run: + +jobs: + verify_linked_issue: + runs-on: ubuntu-latest + name: Ensure Pull Request has a linked issue. + if: github.event.pull_request.draft == false + steps: + - name: Verify Linked Issue + uses: hattan/verify-linked-issue-action@v1.1.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}