From 44b243c558092f9262ba1f8e46d7a1cb9320d2ab Mon Sep 17 00:00:00 2001 From: Henrique Zaim Date: Wed, 17 Jan 2024 10:07:42 -0300 Subject: [PATCH] chore: pipeline workflow --- .github/workflows/build.yml | 14 ++++++++++++++ .github/workflows/pull-request.yml | 16 ++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .github/workflows/build.yml create mode 100644 .github/workflows/pull-request.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..fc6cc48 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,14 @@ +name: Build + +on: + push: + branches: + - main + +jobs: + build: + name: Build + uses: soat-tech-challenge/github-workflows/.github/workflows/maven-bump-push-dockerhub.yml@main + secrets: inherit + with: + docker: false \ No newline at end of file diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml new file mode 100644 index 0000000..9fa08c3 --- /dev/null +++ b/.github/workflows/pull-request.yml @@ -0,0 +1,16 @@ +name: Pull Request + +on: + pull_request: + workflow_dispatch: + +jobs: + build: + name: Build + uses: soat-tech-challenge/github-workflows/.github/workflows/maven-and-docker-build.yml@main + secrets: inherit + permissions: + contents: read + pull-requests: write + with: + docker: false \ No newline at end of file