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

Port changes from vue ecosystem ci #256

Merged
merged 8 commits into from
Oct 20, 2023

Conversation

sapphi-red
Copy link
Member

Ported some changes from https://github.com/vuejs/ecosystem-ci which would be useful for us

sapphi-red and others added 2 commits October 20, 2023 17:03
So that maintainers can get one more email notification when the CI is
done.

Co-Authored-By: Haoqun Jiang <[email protected]>
@dominikg
Copy link
Collaborator

nice!

minor question about stability: could this lead to a result not being posted if delete message fails? might be worth adding the new comment first and then deleting the first one. Also if more comments have been added in-between, the bot comment is not going to be directly below the trigger comment anymore. Is there a way to tag that comment ?

@sapphi-red
Copy link
Member Author

could this lead to a result not being posted if delete message fails? might be worth adding the new comment first and then deleting the first one.

I think yes. I swapped that 👍

Is there a way to tag that comment ?

I added the commit ref to the result comment. (example: sapphi-red/vite#3 (comment))
I guess this would do the job.

@dominikg dominikg merged commit 8fd7bf9 into vitejs:main Oct 20, 2023
1 check passed
@dominikg
Copy link
Collaborator

whoohoo, thanks!!!

danielroe pushed a commit to nuxt/ecosystem-ci that referenced this pull request Oct 30, 2023
* feat: add a comparison column to the PR comment

Co-Authored-By: Haoqun Jiang <[email protected]>

* feat: updateComment -> deleteComment + createComment

So that maintainers can get one more email notification when the CI is
done.

Co-Authored-By: Haoqun Jiang <[email protected]>

* feat: swap delete comment and create comment

* feat: show ref the CI ran on

* fix: fix ref link

* fix: set working-directory

* fix: set working-directory

* feat: change ref link

---------

Co-authored-by: Haoqun Jiang <[email protected]>
@sapphi-red sapphi-red deleted the port-changes-from-vue-ecosystem-ci branch December 2, 2023 15:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants