From acd0ae33873c5fd91fcc739025b2d0fa8ed6af71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Walter?= Date: Tue, 12 Sep 2023 10:42:35 +0200 Subject: [PATCH] Fix compare_snapshot CI (#341) * Try action/github script * Add dedicated workflow for debug --------- Co-authored-by: danilowhk --- .github/workflows/gas_reports.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/gas_reports.yml b/.github/workflows/gas_reports.yml index 2f11bdead..b3b29e661 100644 --- a/.github/workflows/gas_reports.yml +++ b/.github/workflows/gas_reports.yml @@ -7,6 +7,7 @@ permissions: jobs: compare-snapshot: + permissions: write-all runs-on: ubuntu-latest steps: @@ -34,11 +35,3 @@ jobs: result="${result//$'\n'/'%0A'}" result="${result//$'\r'/'%0D'}" echo "::set-output name=result::${result}" - - - name: Comment on PR - uses: thollander/actions-comment-pull-request@v2 - with: - message: "Snapshot Comparison Report:\n\n${{ - steps.run-script.outputs.result }}" # Access the result output variable - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - comment_tag: gas-report