From 6d4c47054230e446356eb6331dda97f1e470ce56 Mon Sep 17 00:00:00 2001 From: John Murret Date: Tue, 25 Jun 2024 16:08:17 -0600 Subject: [PATCH] use gha token replacement for env values --- .github/workflows/backport-commenter.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/backport-commenter.yml b/.github/workflows/backport-commenter.yml index 960cf7a569d7..e1da17df8832 100644 --- a/.github/workflows/backport-commenter.yml +++ b/.github/workflows/backport-commenter.yml @@ -57,8 +57,8 @@ jobs: SYNC-REPO: consul-enterprise run: | backport-assistant validate \ - --owner ${OWNER} --repo ${REPO} --sync-repo ${SYNC_REPO} --versions "${VERSIONS}" \ - --begin-date "${BEGIN_DATE}" --add-comment + --owner ${{ env.OWNER }} --repo ${{ env.REPO }} --sync-repo ${{ env.SYNC_REPO }} --versions ${{ env.VERSIONS }} \ + --begin-date ${{ env.BEGIN_DATE }} --add-comment validate-backports-enterprise: container: hashicorpdev/backport-assistant:claire-dev runs-on: [ 'ubuntu-latest' ] @@ -87,9 +87,7 @@ jobs: VERSIONS: "1.15,1.16,1.17,1.18,1.19" #"${{ github.event.inputs.versions || vars.VERSIONS }}" OWNER: hashicorp REPO: consul-enterprise - - run: | backport-assistant validate \ - --owner "${OWNER}" --repo ${REPO} --versions ${VERSIONS} \ - --begin-date ${BEGIN_DATE} --add-comment \ No newline at end of file + --owner ${{ env.OWNER }} --repo ${{ env.REPO }} --sync-repo ${{ env.SYNC_REPO }} --versions ${{ env.VERSIONS }} \ + --begin-date ${{ env.BEGIN_DATE }} --add-comment \ No newline at end of file