diff --git a/.github/workflows/_pr-check.yml b/.github/workflows/_pr-check.yml new file mode 100644 index 0000000..50d8d04 --- /dev/null +++ b/.github/workflows/_pr-check.yml @@ -0,0 +1,10 @@ +name: Check Pull Request + +on: + pull_request: + branches: [ main ] + types: [opened, edited, synchronize, reopened] + +jobs: + trigger-workflow: + uses: eclipse-dataspace-protocol-base/.github/.github/workflows/scan-pr-title.yml@main \ No newline at end of file diff --git a/.github/workflows/scan-pr-title.yml b/.github/workflows/scan-pr-title.yml index 6cb1e16..4e47d28 100644 --- a/.github/workflows/scan-pr-title.yml +++ b/.github/workflows/scan-pr-title.yml @@ -1,9 +1,7 @@ name: Scan PR Title on: - pull_request: - branches: [ main ] - types: [ opened, edited, synchronize, reopened ] + workflow_call: jobs: check-pull-request-title: