diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml new file mode 100644 index 0000000..579707d --- /dev/null +++ b/.github/workflows/build_and_test.yml @@ -0,0 +1,19 @@ +name: Build and Test + +on: + issue_comment: + types: + - created + pull_request_target: + types: [opened, synchronize, reopened] + paths-ignore: + - 'cicd*.groovy' + - '**/LICENSE' + - 'README.md' + workflow_dispatch: + +jobs: + build-and-test: + if: (github.event.issue.pull_request && contains(github.event.comment.body, '/run tests')) || github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request_target' + uses: ZOSOpenTools/meta/.github/workflows/build_and_test.yml@main + secrets: inherit