Skip to content

[don't merge yet] Allow commit #565

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

[don't merge yet] Allow commit #565

wants to merge 6 commits into from

Conversation

ydshieh
Copy link

@ydshieh ydshieh commented May 27, 2025

Allow passing commit sha of the package, so we can checkout to it

Comment on lines 82 to 87
- name: Checkout to the correct commit
working-directory: ${{ inputs.package }}
run: |
git fetch https://github.com/${{ inputs.repo_owner }}/${{ inputs.package }}.git refs/pull/${{ inputs.pr_number }}/merge:refs/remotes/pull/${{ inputs.pr_number }}/merge
git checkout ${{ inputs.commit_sha }}

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: only do this if commit_sha and pr_number is not empty

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, this is build_pr_documentation.yml which should be already the case

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

Successfully merging this pull request may close these issues.

1 participant