Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Fix main attachment of Playwright status link #1192

Merged
merged 3 commits into from
Apr 22, 2024

Conversation

backspace
Copy link
Contributor

@backspace backspace commented Apr 22, 2024

This corrects an error in #1169; you can see when you view the statuses attached to the commit where I merged it that a report is generated but the status is not attached because the API URL is for pull requests only, not pushes to a branch. This adds a fallback for the SHA when the CI job is running outside of a PR.

In c056b17 I hacked the workflow to run on push to this branch and the status was correctly attached:

boxel 2024-04-22 13-24-05

@backspace backspace added the bug Something isn't working label Apr 22, 2024
@backspace backspace self-assigned this Apr 22, 2024
Copy link

github-actions bot commented Apr 22, 2024

Test Results

590 tests  ±0   586 ✔️ ±0   8m 43s ⏱️ -1s
    1 suites ±0       4 💤 ±0 
    1 files   ±0       0 ±0 

Results for commit 2234cdb. ± Comparison against base commit 0fe906c.

♻️ This comment has been updated with latest results.

@backspace backspace marked this pull request as ready for review April 22, 2024 18:36
@backspace backspace requested a review from a team April 22, 2024 18:36
@backspace backspace merged commit 73b40b1 into main Apr 22, 2024
20 checks passed
@delete-merged-branch delete-merged-branch bot deleted the ci/playwright-report-status-on-main branch April 22, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants