Skip to content

Scheduling infrastructure for absolutely everyone.

fix: Migrates E2E reports to external repo (#16326)

Omar López74567909b253
diff --git a/.github/workflows/cleanup.yml b/.github/workflows/cleanup.yml
index 97f9f8d2587..4f9135bee5b 100644
--- a/.github/workflows/cleanup.yml
+++ b/.github/workflows/cleanup.yml
@@ -4,6 +4,11 @@ on:
delete:
branches-ignore: [main, gh-pages]
+permissions:
+ contents: write
+ issues: write
+ pull-requests: write
+
# ensures that currently running Playwright workflow of deleted branch gets cancelled
concurrency:
group: ${{ github.event.ref }}
@@ -20,7 +25,9 @@ jobs:
- name: Checkout GitHub Pages Branch
uses: actions/checkout@v2
with:
+ repository: calcom/test-results
ref: gh-pages
+ token: ${{ secrets.GH_ACCESS_TOKEN }}
- name: Set Git User
# see: https://github.com/actions/checkout/issues/13#issuecomment-724415212
run: |
diff --git a/.github/workflows/publish-report.yml b/.github/workflows/publish-report.yml
index d11d22ddcba..4fd70503cd9 100644
--- a/.github/workflows/publish-report.yml
+++ b/.github/workflows/publish-report.yml
@@ -16,7 +16,9 @@ jobs:
- name: Checkout GitHub Pages Branch
uses: actions/checkout@v4
with:
+ repository: calcom/test-results
ref: gh-pages
+ token: ${{ secrets.GH_ACCESS_TOKEN }}
- name: Set Git User
# see: https://github.com/actions/checkout/issues/13#issuecomment-724415212
run: |
@@ -65,7 +67,7 @@ jobs:
- name: Output Report URL as Workflow Annotation
id: url
run: |
- FULL_HTML_REPORT_URL=https://calcom.github.io/cal.com/$HTML_REPORT_URL_PATH
+ FULL_HTML_REPORT_URL=https://calcom.github.io/test-results/$HTML_REPORT_URL_PATH
echo "::notice title=📋 Published Playwright Test Report::$FULL_HTML_REPORT_URL"
echo "link=$FULL_HTML_REPORT_URL" >> $GITHUB_OUTPUT
- name: Find Comment