From 8781fcdd5176e1dfe23b362226cb01d7c460a324 Mon Sep 17 00:00:00 2001 From: Adam Lerman Date: Mon, 21 Oct 2024 18:17:21 +0000 Subject: [PATCH] Updating workflows to use reusable --- .github/workflows/build-images.yml | 5 ++++- .github/workflows/tests.yaml | 11 +++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml index 92175ea..32ebdb4 100644 --- a/.github/workflows/build-images.yml +++ b/.github/workflows/build-images.yml @@ -6,10 +6,13 @@ on: tags: - "**" branches: - - 'integration' + - 'main' - 'release/version*' - 'docker-images' workflow_dispatch: jobs: call-reusable-workflow: uses: nationalsecurityagency/datawave/.github/workflows/microservice-build-image.yaml@integration + secrets: + USER_NAME: ${{ secrets.USER_NAME }} + ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 5f30ec7..d714b4d 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -1,14 +1,17 @@ -name: Run Maven Tests +name: Tests on: push: paths-ignore: ['*.md', 'CODEOWNERS', 'LICENSE'] branches: - - 'main' - - 'release/*' + - 'main' + - 'release/*' pull_request: paths-ignore: ['*.md', 'CODEOWNERS', 'LICENSE'] jobs: call-reusable-workflow: - uses: nationalsecurityagency/datawave/.github/workflows/microservice-maven-tests.yaml@integration \ No newline at end of file + uses: nationalsecurityagency/datawave/.github/workflows/microservice-maven-tests.yaml@integration + secrets: + USER_NAME: ${{ secrets.USER_NAME }} + ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} \ No newline at end of file