-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
Github Action GITHUB_SHA #567
Labels
Comments
T0biii
added
bug
gluon-v2023.2.x
gluon-v2023.1.x
gluon-v2021.1.x
Applies on 4/32 branch
labels
Jan 22, 2025
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The Firmware-Version seems to be a bit of, the
git describe --tags
in the makefile via Github Actions provides a different GITHUB_SHA Value then the last commit in the PRhttps://github.com/freifunkMUC/site-ffm/blob/gluon-v2023.2.x/.github/workflows/firmware.yml#L61
3f9bce8
ddf3c15
3f9bce8 != ddf3c15
More Info:
But this is not the GITHUB_SHA for pull_request event. The GITHUB_REF for pull_request event is PR merge branch refs/pull/:prNumber/merge. And the GITHUB_SHA is the last merge commit on the GITHUB_REF branch. This GITHUB_SHA does not exist in any current branch in repo. So you will get fatal: bad object.
Solution:
https://github.com/ridedott/merge-me-action/blob/17b44e0eb9b0935781e34684ce4433b431014006/README.md?plain=1#L134-L135
The text was updated successfully, but these errors were encountered: