Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 5 additions & 5 deletions .github/workflows/large-payload-tester.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion .github/workflows/large-payload-tester.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ permissions:
contents: read
issues: read
pull-requests: read

roles: [admin, maintainer, write]

network:
allowed:
- defaults
- containers

tools:
bash: ["*"]
Expand Down Expand Up @@ -102,7 +103,9 @@ steps:

echo "Test environment setup complete"
echo "Large file stored in: $TEST_FS/$LARGE_PAYLOAD_FILE"
grep -H $TEST_SECRET $TEST_FS/$LARGE_PAYLOAD_FILE
echo "Secret stored in $TEST_FS/$SECRET_FILE"
grep -H $TEST_SECRET $TEST_FS/$SECRET_FILE
Comment on lines 105 to +108
Copy link

Copilot AI Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The added grep -H $TEST_SECRET ... lines will print the full secret and (for the large JSON) potentially thousands of matching lines into the workflow logs, which can bloat logs and even cause failures/timeouts. Prefer a non-verbose assertion (e.g., grep -Fq/grep -c with a small, bounded output) and quote variables/paths ("$TEST_SECRET", "$TEST_FS/$LARGE_PAYLOAD_FILE") to avoid word-splitting and regex interpretation.

Copilot uses AI. Check for mistakes.

timeout-minutes: 10
strict: true
Expand Down