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 checkout for ci-build #138

Merged
merged 1 commit into from
Jul 25, 2023
Merged

fix checkout for ci-build #138

merged 1 commit into from
Jul 25, 2023

Conversation

ayeminag
Copy link
Collaborator

@ayeminag ayeminag commented Jul 25, 2023

Issues

Implementation

actions/checkout@v3 has a bug, which is cloning master branch while trigger event for workflow is pull_request. This PR fixed it by passing ref: ${{ github.event.pull_request.head.ref || github.ref }} to checkout steps.

@ayeminag ayeminag requested a review from lucasmellos July 25, 2023 08:45
@ayeminag ayeminag merged commit 181fa09 into main Jul 25, 2023
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.

3 participants