Skip to content

Commit

Permalink
fix pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
TanvirDeol committed Feb 21, 2025
1 parent bd41dcb commit 473aa42
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/actions/aderyn/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ runs:

- name: Check Aderyn Report for Warnings
run: |
if grep -q "warning:" aderyn_output.log || grep -q "Found issues" aderyn_output.log; then
if grep -E "warning:|Found issues" aderyn_output.log; then
echo "Aderyn analysis found warnings."
exit 1
else
echo "No warnings or issues found by Aderyn."
fi
shell: bash
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/aderyn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:

steps:
- name: Run Aderyn Static Analysis
uses: axelarnetwork/axelar-gmp-sdk-solidity/.github/actions/aderyn@ci/aderyn-analysis
uses: axelarnetwork/axelar-gmp-sdk-solidity/.github/actions/aderyn@ci/aderyn-analysis

0 comments on commit 473aa42

Please sign in to comment.