Protect artifact consent HTTP requests with current sessions and CSRF

This commit is contained in:
Thomas Durieux committed 2026-09-27 14:36:46 +00:00
1 parent 5485f57e02
commit 7b60979c96
5 files changed
+838 -3

No files matched your search

+5 -2
View File
@@ -60,11 +60,14 @@ jobs:
env:
TEST_REVIEW_CONSENT_MONGO: mongodb://127.0.0.1:28743/?replicaSet=review-consent-test
TEST_REVIEW_CONSENT_PERF_REPORT: review-consent-perf.json
run: npx mocha test/review-owner-consent.test.js
TEST_REVIEW_CONSENT_HTTP_PERF: review-consent-http-perf.json
run: npx mocha test/review-owner-consent.test.js test/review-consent-http.test.js
- uses: actions/upload-artifact@v4
with:
name: review-consent-performance
path: review-consent-perf.json
path: |
review-consent-perf.json
review-consent-http-perf.json
- name: Remove disposable database
if: always()
run: docker rm -f review-consent-test || true