From bd85033111868e335c3cb419190e809435708bd2 Mon Sep 17 00:00:00 2001 From: White Hat Hacker Date: Thu, 1 Jan 2099 00:00:00 +0000 Subject: [PATCH] Fix actions injection. --- .github/workflows/comparison-results.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/comparison-results.yml b/.github/workflows/comparison-results.yml index 20e722e78..b8a66c357 100644 --- a/.github/workflows/comparison-results.yml +++ b/.github/workflows/comparison-results.yml @@ -58,7 +58,9 @@ jobs: # langauge specific repository file - name: Run the script for ${{github.head_ref}} and ${{github.base_ref}} - run: export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} && cd ./temp/standalone-monitoring-stability && pip install -r requirements.txt && python3 ./run.py -r ./repos/${{matrix.language}}.txt -b ${{github.base_ref}} -h ${{github.head_ref}} -bcr ${{ github.event.pull_request.base.repo.html_url }} -hcr ${{ github.event.pull_request.head.repo.html_url }} -guf + env: + HEAD_REF: ${{ github.head_ref }} + run: export GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} && cd ./temp/standalone-monitoring-stability && pip install -r requirements.txt && python3 ./run.py -r ./repos/${{matrix.language}}.txt -b ${{github.base_ref}} -h $HEAD_REF -bcr ${{ github.event.pull_request.base.repo.html_url }} -hcr ${{ github.event.pull_request.head.repo.html_url }} -guf - name: Run aws-export run: cd ./temp/standalone-monitoring-stability/ && python3 aws-export.py ${{matrix.language}}-${{github.event.number}}