Comments (7)
See here: #115 (comment)
Forgot to document this ability, but let me know if this solves the issue for you
from bundlemon.
Yes. It's amazing!
Quick question about the behavior, if I set the limit by max increase percent and I approve the change that increases the binary size, will the next PR fail the bundlemon CI again since the baseline didn't change and the binary size will stay high?
from bundlemon.
yes, each approval is for a specific commit, the baseline will always be the target branch, once you merge the baseline will change.
from bundlemon.
I found two issues when trying this feature:
- After I approve the change, the bundlemon CI job still fails. I was expecting it to pass.
- There is a race condition in the UI between when the review button checks auth state and the auth state changes. If auth state changes after the review button checks the auth status, it will show me log in is required even if I have logged in.
from bundlemon.
The approval applies to a specific commit that goes to GitHub and changes the current commit status from failed to success, re-running or a new commit will cause it to fail again.
We can think of a solution that checks the PR labels and auto-approves new jobs.
For now, you can do that bundlemon wont fail the pipeline
- name: Run BundleMon
uses: lironer/bundlemon-action@v1
with:
fail-on-error: false
Then your job will always be successful, and if you want to verify the bundlemon status have a "required" status of the bundlemon commit status
from bundlemon.
Yeah, having a way to auto approve the jobs with a PR labels can be a great idea.
Do you mind elaborating what you meant by "have a "required" status of the bundlemon commit status"
Thanks for the reply!
from bundlemon.
- Setup bundlemon github-integration, then on every commit in a PR bundlemon will add a commit status
When one of the defined limits exceeds BundleMon will create a failed commit status, You can decide if you want to approve it via the BundleMon website. If you approve it will change the commit status to success
from bundlemon.
Related Issues (20)
- Glob pattern with pipe character breaks Markdown report table HOT 1
- Friendly name on groups HOT 1
- Ability to approve the changes to the bundle size HOT 24
- Commit Message as part of the label on History Report HOT 1
- Recent breaking changes in `/v1/projects/.../commit-records/.../outputs/github` endpoint? HOT 4
- Can't create new project HOT 1
- ability to post GitHub output only on failures HOT 3
- BundleMon v2 project migration HOT 9
- Ignore fails on base branch HOT 5
- Ability to disapprove record HOT 1
- Bundlemon fails to produce the `checkRun` in v2 HOT 6
- Screenshot of history in the service? HOT 2
- How can I configure Bundlemon to recognize hashes generated by Rollup 4?
- [Docs] some pitfalls when developing on linux
- [Docs] Some pitfalls when developing on linux
- Exposing markdown report generator in bundlemon-utils package
- Error during commit record creation, when bundlemon runs on master branch / Travis HOT 1
- Feature request: make "sub project" a dropdown HOT 1
- RangeError: Maximum call stack size exceeded HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bundlemon.