-
Notifications
You must be signed in to change notification settings - Fork 40
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
[CICD] Trigger workflow on label and dispatch #207
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Benchmarks completed successfully. ResultsTBD |
c410-f3r
approved these changes
Jun 30, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some minor concerns.
- Needs re-base
- Substrate is using
labeler
to deal with labels (https://github.com/paritytech/substrate/blob/master/.github/workflows/auto-label-issues.yml) and this PR is usingadd-remove-label
withlabeler
being the one with most recent updates. Just a heads-up, I don't know if they have similar or complete different functionalities. - Not totally sure but it is probably true that currently only team members can modify or add labels, i.e., external users won't trigger benchmarks
607b08a
to
1ab6bd7
Compare
|
lsaether
approved these changes
Jul 12, 2021
Yes, only members of the org can set labels on PRs. |
c410-f3r
pushed a commit
to c410-f3r/zeitgeist
that referenced
this pull request
Sep 14, 2021
* Trigger workflow on label and dispatch * Distinguish between different outcomes * Fix syntax error * Fix invalid step condition * Fix invalid symbol * Add status comment * Add error message (test) * Move exit action at the end * Fix invalid GH token * Integrate label mechanism into actual benchmarks Additionally enforces senquential execution of benchmark workflows * Add proper benchmark result message This also serves to test if the workflow reacts properly to new commit (cancel, label and report) * Test new ref fetch on PR * Removed comments * Replace local chain with dev chain * Update weights * Include complete benchmark output * Test multiline error output * Update weights * Remove invalid local keyword * Remove invalid local keyword * Test successful run output * Fix output formatting error * Update weights * Update weights * Test multiline result text * Test multiline result text * Test multiline result text * Test multiline result text * Test multiline result text * Shorten test text * Move HTML into output variable * Add function to construct html message * Comment out line * Replace test output with real output * Uncomment actual benchmark command * Activate benchmark error detection * Update weights * Reset weights * Minor changes in step names Co-authored-by: sea212 <sea212@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #206
Changes