-
Notifications
You must be signed in to change notification settings - Fork 17
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
fix Codefresh PR number variable #114
fix Codefresh PR number variable #114
Conversation
We pulled that in from node-coveralls, which still has this discrepency. In the Coveralls app code, it is used from that link you showed, and it's also used for API calls to GitHub, GitLab, BitBucket, and Stash. I can confirm that those APIs -- the ones we use anyway -- expect a "PR number"-like value, and not an ID. Looks good to me. |
Pull Request Test Coverage Report for Build 8608271581Details
💛 - Coveralls |
They are both numbers though...both integers, so I don't know how one could distinguish one from the other It's just, one's an internal Github ID, and one corresponds to the Github PR number, so you can build URL links based on it |
Sorry, that paragraph was an explanation clarifying that I checked the Coveralls backend and confirmed that this PR is correct. |
@snackattas just doing some housekeeping to confirm this had been released and is working for you. Thanks, @mike-burns! |
⚡ Summary
This PR switches from the Pull Request ID, which is an internal Github ID, to the Pull Request Number, for Codefresh, which will make these links work:
https://codefresh.io/docs/docs/pipelines/variables/
Here's a similar issue with gitlab that I found, where they also switched over to the github PR number from PR id
☑️ Checklist