Skip to content

Commit 00a4f69

Browse files
authored
feat(static): add node audits (#1190)
2 parents d0bfce5 + e178466 commit 00a4f69

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.github/workflows/check-external-links.yml

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,22 @@ jobs:
3333
docs
3434
env:
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
- name: Prepare broken link report
37+
id: lychee_report
38+
if: ${{ steps.lychee.outputs.exit_code && steps.lychee.outputs.exit_code != '0' }}
39+
shell: bash
40+
run: |
41+
report_file="lychee/out.md"
42+
if [[ ! -s "$report_file" ]]; then
43+
echo "report<<EOF" >> "$GITHUB_OUTPUT"
44+
echo "Lychee detected broken links, but the report file (\`$report_file\`) was empty or missing." >> "$GITHUB_OUTPUT"
45+
echo "EOF" >> "$GITHUB_OUTPUT"
46+
exit 0
47+
fi
48+
49+
echo "report<<EOF" >> "$GITHUB_OUTPUT"
50+
cat "$report_file" >> "$GITHUB_OUTPUT"
51+
echo "EOF" >> "$GITHUB_OUTPUT"
3652
- name: Comment on PR if broken links found
3753
if: ${{ steps.lychee.outputs.exit_code && steps.lychee.outputs.exit_code != '0' }}
3854
uses: thollander/actions-comment-pull-request@v3
@@ -42,9 +58,7 @@ jobs:
4258
<details>
4359
<summary>Click to expand</summary>
4460
45-
```markdown
46-
${{ steps.lychee.outputs.report }}
47-
```
61+
${{ steps.lychee_report.outputs.report }}
4862
</details>
4963
env:
5064
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

docs/support/audits.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Each report provides detailed insights into the scope of the audit, methodologie
2323
| FAsset Smart Contracts v1.2 | Zellic | Aug 2025 | [Link](@site/static/pdf/audits/20250801-Zellic-Flare_FAssets_Audit_Report_08_2025.pdf) |
2424
| FAsset Immunefi Audit Comp | Immunefi | June 2025 | [Link](https://immunefi.com/audit-competition/audit-comp-flare-fassets/leaderboard/) |
2525
| FAssets v1.1 | Coinspect | Apr 2025 | [Link](@site/static/pdf/audits/20250401-Coinspect-SmartContractAudit-Flare-FAssetCoreVault-v250506.pdf) |
26+
| Node update to 1.10 X-Chain bug | FYEO | Mar 2025 | [Link](@site/static/pdf/audits/20250301-FYEO-FlareOngoingFxIndexFix.pdf) |
2627
| USDT Swapper | Coinspect | Feb 2025 | [Link](@site/static/pdf/audits/20250201-Coinspect-SmartContractAudit-Flare-USDT_Swapper-v250327.pdf) |
2728
| FTSOv2 Custom Feeds Diff Review | Coinspect | Feb 2025 | [Link](@site/static/pdf/audits/20250205-Coinspect-SmartContractAudit-Flare-FTSOv2CustomFeedsDiffReview-v240210.pdf) |
2829
| Smart Contract Preregistration | Coinspect | Jan 2025 | [Link](@site/static/pdf/audits/20250101-Coinspect-SmartContractAudit-Flare-Pre-Register&FTSOManagement-v250109.pdf) |
1.19 MB
Binary file not shown.

0 commit comments

Comments
 (0)