Skip to content
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(2676): Add option to pass in checkoutUrl as path to getFile #53

Merged
merged 1 commit into from
Mar 31, 2022

Conversation

tkyi
Copy link
Member

@tkyi tkyi commented Mar 31, 2022

Context

In order to support getting provider config dynamically in screwdriver.yaml, we need to be able to pass in the full path to getFile instead of the scmUri, etc.

Objective

This PR changes getFile method to allow using full path to get repo owner, name, branch, etc info.

References

screwdriver-cd/screwdriver#2676
Related to screwdriver-cd/scm-github#204

License

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

@tkyi tkyi merged commit d171774 into master Mar 31, 2022
@tkyi tkyi deleted the getFile branch March 31, 2022 23:37
@sd-buildbot
Copy link

🎉 This PR is included in version 2.9.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants