Skip to content

Commit

Permalink
match alert.yml secrets use
Browse files Browse the repository at this point in the history
  • Loading branch information
waynebruce0x committed Mar 15, 2022
1 parent 3f577dc commit 8363329
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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'
Expand Down

0 comments on commit 8363329

Please sign in to comment.