mirror of
https://github.com/tdurieux/anonymous_github.git
synced 2026-10-19 14:17:20 +02:00
Protect artifact consent HTTP requests with current sessions and CSRF
This commit is contained in:
1 parent
5485f57e02
commit
7b60979c96
5 files changed
+838
-3
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user