From 86c033572da084fd85d4d4c2d637db18d2d431ec Mon Sep 17 00:00:00 2001 From: thomas chaton Date: Wed, 15 Sep 2021 16:44:06 +0100 Subject: [PATCH] ci (#9522) --- .../workflows/ci_verify_pr_contains_issue.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/ci_verify_pr_contains_issue.yaml 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 }}