Title: GitHub pull-request workflow - use _expected_ commit hash · Issue #671 · git-commit-id/git-commit-id-maven-plugin · GitHub
Open Graph Title: GitHub pull-request workflow - use _expected_ commit hash · Issue #671 · git-commit-id/git-commit-id-maven-plugin
X Title: GitHub pull-request workflow - use _expected_ commit hash · Issue #671 · git-commit-id/git-commit-id-maven-plugin
Description: Describe the idea (required) When running a GitHub pull-request workflow, the commit id is not the same as the pushed commit. https://github.com/orgs/community/discussions/25191 My use-case is when PR changes automatically deploy a micro...
Open Graph Description: Describe the idea (required) When running a GitHub pull-request workflow, the commit id is not the same as the pushed commit. https://github.com/orgs/community/discussions/25191 My use-case is when...
X Description: Describe the idea (required) When running a GitHub pull-request workflow, the commit id is not the same as the pushed commit. https://github.com/orgs/community/discussions/25191 My use-case is when...
Opengraph URL: https://github.com/git-commit-id/git-commit-id-maven-plugin/issues/671
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"GitHub pull-request workflow - use _expected_ commit hash","articleBody":"### Describe the idea (required)\r\n\r\nWhen running a GitHub pull-request workflow, the commit id is not the same as the pushed commit.\r\nhttps://github.com/orgs/community/discussions/25191\r\n\r\nMy use-case is when PR changes automatically deploy a micro-service, and I'd like my code to return the build's commit hash in an http response header, so developers and testers can confirm they are testing the right versions of our micro-services.\r\n\r\nI believe GitHub expects tools to work around/with GitHubs approach to finding the _appropriate_ commit id. Is this a worthwhile feature to add to git-commit-id-maven-plugin ?\r\n\r\n\r\n### Tell us about the expected behaviour (required)\r\n\r\nI am expecting `git.commit.id/.full/.abbrev` to expose a commit-id that I can correlate with my git history.\r\n\r\nDuring GitHub pull-request worflows, GitHub runs on a 'merge' commit, which is not the pushed commit.\r\n(see https://github.com/orgs/community/discussions/25191)\r\n\r\n### Context (optional)\r\n\r\n_No response_","author":{"url":"https://github.com/nathan-summers-landg","@type":"Person","name":"nathan-summers-landg"},"datePublished":"2023-11-20T15:37:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/671/git-commit-id-maven-plugin/issues/671"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ebef7b84-9a45-4d8d-4494-0571797b8f09 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DEAA:10DE5:2D61E:3973B:69903A5D |
| html-safe-nonce | 3bcdf44f5012ebeb5c12562d37cd9f89bab42c2fa14af1fb2d03afb9b430c41c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUFBOjEwREU1OjJENjFFOjM5NzNCOjY5OTAzQTVEIiwidmlzaXRvcl9pZCI6IjU5MTA4MTU3NzQyMzk4MDQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 667c68ed5879fbb37c55b9921b50f426cb419d49dd036e79d75b86f05a97905b |
| hovercard-subject-tag | issue:2002473346 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/git-commit-id/git-commit-id-maven-plugin/671/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5d3f3969913a5688e6e00c1b063e79a6cc54b35f4af3829226eb0b46a5e255c5/git-commit-id/git-commit-id-maven-plugin/issues/671 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5d3f3969913a5688e6e00c1b063e79a6cc54b35f4af3829226eb0b46a5e255c5/git-commit-id/git-commit-id-maven-plugin/issues/671 |
| og:image:alt | Describe the idea (required) When running a GitHub pull-request workflow, the commit id is not the same as the pushed commit. https://github.com/orgs/community/discussions/25191 My use-case is when... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nathan-summers-landg |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/git-commit-id/git-commit-id-maven-plugin git https://github.com/git-commit-id/git-commit-id-maven-plugin.git |
| octolytics-dimension-user_id | 43124426 |
| octolytics-dimension-user_login | git-commit-id |
| octolytics-dimension-repository_id | 1361792 |
| octolytics-dimension-repository_nwo | git-commit-id/git-commit-id-maven-plugin |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1361792 |
| octolytics-dimension-repository_network_root_nwo | git-commit-id/git-commit-id-maven-plugin |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3b33c5aedc9808f45bc5fcf0b1e4404cf749dac7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width