Don't getCiBuildId from GitHub when it's already overridden in the action parameters#550
Conversation
|
A PR I did on my fork showed 51 of 52 checks passed. Not sure why the 1 failed TBH: |
admah
left a comment
There was a problem hiding this comment.
See a couple of comments. Thanks!
review feedback 1
…n master in root repo
|
@admah So .... strange things. I reverted package-lock.json, but now when I do an npm run build it shows a LOT more changes to dist/index.js than I expected. I'm currently testing it but if you've got any advice as to WHY this might be happening I'm all ears. I'm on |
|
@admah I upgraded npm to 8* and it's still makign pretty large changes to dist/index.js when I |
|
@jdborneman-terminus I'm taking a look now to see what the diff is. UPDATE: after looking at it on my own branch and building, there are dynamic changes made to the dist file. Since all the checks and tests pass, I'm approving and merging. |
|
Thanks @admah! Happy to be able to contribute. So when will it be tagged/released? Is that something I can/should do, or leave it to you all? |
|
@jdborneman-terminus I'm working on this. We follow semantic-release commit conventions and I missed that no commits seem to have |
|
🎉 This PR is included in version 3.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
We're doing Strange Things™️ with our setup. Long story short we have an infra repo that deploys and tests a service repo. The service repo is the one that contains the tests. Instead of having the infra repo call out to a workflow in the service repo (causing all sorts of interdependency between workflows) we've instead wrapped the cypress-io/github-action in a custom composite action that gets run from teh Infra repo and pulls down the service repo, testing it as part of teh infra workflow.
BUT... it fails in the following way:
I was able to track down that it's failing because it's trying to determine a build id from the repo but I believe it's confused about which repo and run id to use since we're inside a repo-in-a-repo.
This change just make sit so that
getCiBuildIdisn't called if theci-build-idparameter is already provided.Note: Not sure why the package-lock.json got changed so drastically. All I did was an
npm install.Anyway open to feedback and changes to what I did as js is not my best language (yet 😁 ).