From a19edab52289c6615746e81b0509f35dcc95f1e4 Mon Sep 17 00:00:00 2001 From: Midga3 Date: Wed, 11 Nov 2026 00:46:37 +0300 Subject: [PATCH] Add fetch() check to PR workflow --- .github/workflows/prs.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/prs.yml b/.github/workflows/prs.yml index 77d77efa2..f0493667b 100644 --- a/.github/workflows/prs.yml +++ b/.github/workflows/prs.yml @@ -29,7 +29,11 @@ jobs: echo "::error::Unsafe innerHTML found in this pr" exit 1 fi - echo "No innerHTML issues" + if echo "$OUTPUT" | grep -q "fetch()"; then + echo "::error::Fetch found in this pr" + exit 1 + fi + echo "No issues" permissions: runs-on: ubuntu-latest