Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Fix compare_snapshot CI #341

Merged
merged 3 commits into from
Sep 12, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 1 addition & 8 deletions .github/workflows/gas_reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ permissions:

jobs:
compare-snapshot:
permissions: write-all
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -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