From 8363329340a2bc0f03e030cf62996490ee12449d Mon Sep 17 00:00:00 2001 From: waynebruce0x Date: Tue, 15 Mar 2022 13:34:37 +0000 Subject: [PATCH] match alert.yml secrets use --- .github/workflows/test.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 744e3a12a088..6016fb873a07 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,16 +13,14 @@ jobs: - name: Check out repository code uses: actions/checkout@v2 - name: Run changes files through test script - env: - JUNK_SECRET: ${{ secrets.JUNK_SECRET }} run: | - echo $JUNK_SECRET + echo ${{ secrets.JUNK_SECRET }} npm install for i in $(echo ${{ steps.file_changes.outputs.files_modified}} | tr -d '[]' | tr "," "\n") do { node ${{ github.workspace }}/test.js ${{ github.workspace }}/${i} > output.txt - node ${{ github.workspace }}/.github/workflows/commentResult.js /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/output.txt "${{ github.repository_owner }}" "${{ github.event.repository.name }}" "${{ github.event.number }}" ${i} $JUNK_SECRET + node ${{ github.workspace }}/.github/workflows/commentResult.js /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/output.txt "${{ github.repository_owner }}" "${{ github.event.repository.name }}" "${{ github.event.number }}" ${i} ${{ secrets.JUNK_SECRET }} } || { echo -n $i echo ' doesnt run' @@ -32,7 +30,7 @@ jobs: do { node ${{ github.workspace }}/test.js ${{ github.workspace }}/${i} > output.txt - node ${{ github.workspace }}/.github/workflows/commentResult.js /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/output.txt "${{ github.repository_owner }}" "${{ github.event.repository.name }}" "${{ github.event.number }}" ${i} $JUNK_SECRET + node ${{ github.workspace }}/.github/workflows/commentResult.js /home/runner/work/DefiLlama-Adapters/DefiLlama-Adapters/output.txt "${{ github.repository_owner }}" "${{ github.event.repository.name }}" "${{ github.event.number }}" ${i} ${{ secrets.JUNK_SECRET }} } || { echo -n $i echo ' doesnt run'