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

ci: Make sure to check out the head branch, not the HEAD commit #3118

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Yaminyam
Copy link
Member

@Yaminyam Yaminyam commented Nov 19, 2024

https://github.com/lablup/backend.ai/actions/runs/11851900854/job/33029158862?pr=3101
The assign-pr-number action is throwing an error after the #3083 action.
The actions/checkout action is getting the current branch by default, but in the case of pull_request branch, it only gets information about the HEAD commit without branch information, so we need to get the branch information as well so we can push it.
https://github.com/actions/checkout#push-a-commit-to-a-pr-using-the-built-in-token
The checkout readmd also says the following.

Checklist: (if applicable)

  • Milestone metadata specifying the target backport version

@github-actions github-actions bot added the size:XS ~10 LoC label Nov 19, 2024
@Yaminyam Yaminyam added this to the 24.03 milestone Nov 19, 2024
@Yaminyam Yaminyam marked this pull request as ready for review November 19, 2024 07:06
@Yaminyam Yaminyam added the skip:changelog Make the action workflow to skip towncrier check label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size:XS ~10 LoC skip:changelog Make the action workflow to skip towncrier check
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant