Comments (8)
Actually, in my case it was because I forgot to update my repo with the latest code before submitting a pull request. So you should try fetching from the upstream git fetch upstream
to pull the latest update
step to do it:
-
add the upstream
git remote add upstream https://github.com/twilio-labs/open-pixel-art
git fetch upstream
-
pull it to your master branch
git pull upstream master
-
merge your add-my-new-pixel branch
git checkout master
git merge add-my-new-pixel
-
push it
git push
-
then create the pull request, it should pass (just like what I did)
from open-pixel-art.
Yeah I think we can fix that one by setting up a second GitHub action that runs on push
events that will:
- checkout
- run
npm install
- run
npm run prettier
- run
node tasks/sortPixels.js
- run commit any changes using https://github.com/marketplace/actions/push-new-files-back-to-master
That way hopefully nobody should catch accidental formatting in their PRs.
from open-pixel-art.
Thank you so much for opening your first issue for this project! We'll try to get back to it as quickly as possible. While you are waiting...here's a random picture of a corgi (powered by dog.ceo)
from open-pixel-art.
Due to the commit hook, the list gets automatically sorted, and master has some pixels that are not in place.
This means a lot of new pull requests touch more code than 1 line in the pixels data file, making the code review check fail on the danger
step. A manually checked pr has to fix the ordering to allow these PRs to be accepted.
from open-pixel-art.
Yeah there's a few different problems in here some of which are easier to fix than others. Updating your fork from upstream is the easiest way to fix some of the issues.
Git seems to sometimes randomly struggle with merging the changes in the pixels.json
occasionally. The general strategy would be to accept current and then add your contribution back.
I'm open for any ideas to improve the bots.
from open-pixel-art.
Along with the upstream fetch problem, the docs said to run npm test
- when I did, the linter also corrected some extra whitespace in the test suite, which then flagged that I had altered more than 1 file/a file other than pixels.json
.
I ended up closing the PR and raising a new one. When I tried to merge that one, I noticed that it automatically ran the tests, passed and auto-merged. So I think this is also causing a lot of PR auto-merges to fail.
from open-pixel-art.
@dkundel do you think that a pre-push hook solves this problem? We could use husky and configure these steps.
from open-pixel-art.
Yeah I think so. I'm already creating a sync script that we could use that in a pre-push hook. Once #991 is done, this would be a great addition
from open-pixel-art.
Related Issues (20)
- [TRANSLATION] Add docker section on CONTRIBUTING.md portuguese translation HOT 2
- [BUG] "npm test" fails HOT 3
- [BUG] There's no format:json script in package.json HOT 2
- [BUG] Bad license link HOT 2
- [TRANSLATION] Add French translation for contribution guide HOT 1
- [BUG] Zero coordinates doesn't show up on mouseOver. HOT 6
- [BUG] ticket 3196 merge bug HOT 1
- [TRANSLATION] Add Polish HOT 2
- Not recognizing my contribution [BUG] HOT 2
- Unfortunately the automatic code review has failed. Please click the details button for more information. If the details reveal a fail in Danger please note that there is currently a known issue (\#2046) and @dkundel will merge your PR manually in the coming days. Sorry for the inconvenience. HOT 2
- Merge bot fails to merge correctly formatted pull requests. HOT 10
- [BUG] 'npm test' times out HOT 11
- [TYPO] Says Pix instead of pick HOT 3
- [BUG] Docker Build Failing in Step 4, npm POSTInstall | Git Not Found Issue HOT 2
- [BUG] NPM TEST Failed | Merge Pixels File | Docker Build Last Step HOT 1
- [BUG] Zero coordinates doesn't show up on mouseOver HOT 4
- open-pixel-art HOT 3
- [BUG] Netlify deploy error HOT 1
- [FEATURE] Please process pull requests HOT 1
- [FEATURE] Add other contributors to work thru the pull request backlog...
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 open-pixel-art.