From a82e394cdfadb20a24eea85e5df4ea3c6bedb00a Mon Sep 17 00:00:00 2001 From: Mike Audi Date: Sun, 24 Sep 2023 15:32:41 -0500 Subject: [PATCH] fix: use org vars --- .github/workflows/codeql.yml | 1 - .github/workflows/release.yml | 8 ++------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index d4012ea..5b9fc21 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -8,7 +8,6 @@ on: branches: - main -# Cancel any active builds when new commits are pushed concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a2536fa..9a13133 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,10 +7,6 @@ on: types: - closed -env: - SESSION_NAME : "gh_action" - AWS_REGION : "us-east-2" - concurrency: group: ${{ github.ref }}-${{ github.workflow }} cancel-in-progress: true @@ -45,8 +41,8 @@ jobs: uses: aws-actions/configure-aws-credentials@v4 with: role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/GitHubDeployBase - role-session-name: ${{ env.SESSION_NAME }} - aws-region: ${{ env.AWS_REGION }} + role-session-name: ${{ vars.SESSION_NAME }} + aws-region: ${{ vars.AWS_REGION }} - name: Prepare Zip run: mvn prepare-package