Skip to content

Commit

Permalink
use gha token replacement for env values
Browse files Browse the repository at this point in the history
  • Loading branch information
jmurret committed Jun 25, 2024
1 parent 9c785e1 commit 6d4c470
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/backport-commenter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' ]
Expand Down Expand Up @@ -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
--owner ${{ env.OWNER }} --repo ${{ env.REPO }} --sync-repo ${{ env.SYNC_REPO }} --versions ${{ env.VERSIONS }} \
--begin-date ${{ env.BEGIN_DATE }} --add-comment

0 comments on commit 6d4c470

Please sign in to comment.