chore: trigger ecosystem-ci by comment#9887
Conversation
dc340c8 to
faf7d4b
Compare
|
@patak-dev @dominikg
and also changed to use GitHub App instead of PAT Example: sapphi-red#3 |
|
The current flow: sequenceDiagram
actor U as user
participant vPR as vitejs/vite<br>PR
actor vGA as vitejs/vite<br>GitHub Actions
actor eGA as vitejs/vite-ecosystem-ci<br>GitHub Actions
U ->> vPR: comment on PR
vPR ->> vGA: trigger
vGA ->> vPR: add :+1: reaction to comment
Note over vPR,vGA: when triggered user is not allowed, add :-1: reaction to comment and end
vGA ->> eGA: trigger "ecosystem-ci-from-pr"
eGA ->> vPR: add comment
eGA ->> eGA: run ecosystem-ci
eGA ->> vPR: add result to comment
vPR ->> U: gets result
To setup GitHub App, the following steps are required:
|
|
Amazing work @sapphi-red 😍, and thanks again for the detailed explanations. |
|
@patak-dev I don't have permission to create GitHub Apps under the vitejs org and set secrets to vitejs/vite and vitejs/vite-ecosystem-ci. |
|
@sapphi-red all done 🙌🏼 |
|
@patak-dev Thanks! |
|
/ecosystem-ci run |
|
I love the 👍🏼 reaction on your comment ❤️ |
|
It failed. Maybe these values are different?🤔 vite/.github/workflows/ecosystem-ci-trigger.yml Lines 68 to 69 in 7c4ab51 |
|
/ecosystem-ci run |
1 similar comment
|
/ecosystem-ci run |
|
📝 Ran ecosystem CI: Open
|
Description
Make it possible to run ecosystem-ci by commenting
/ecosystem-ci runto PR.Example: sapphi-red#2(the CI ran failed because I commented out Line 37 which requires vitejs/vite-ecosystem-ci#120)
requires vitejs/vite-ecosystem-ci#122
Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123).