Title: Handle PullRequest/Action casing in event payloads to detect merged PRs · Issue #260 · PSModule/Process-PSModule · GitHub
Open Graph Title: Handle PullRequest/Action casing in event payloads to detect merged PRs · Issue #260 · PSModule/Process-PSModule
X Title: Handle PullRequest/Action casing in event payloads to detect merged PRs · Issue #260 · PSModule/Process-PSModule
Description: Summary The Get-PSModuleSettings action treats merged PRs as abandoned when the event payload uses PullRequest/Action (PascalCase) keys instead of pull_request/action. Context The GoogleFonts workflow emits event data with PullRequest an...
Open Graph Description: Summary The Get-PSModuleSettings action treats merged PRs as abandoned when the event payload uses PullRequest/Action (PascalCase) keys instead of pull_request/action. Context The GoogleFonts workf...
X Description: Summary The Get-PSModuleSettings action treats merged PRs as abandoned when the event payload uses PullRequest/Action (PascalCase) keys instead of pull_request/action. Context The GoogleFonts workf...
Opengraph URL: https://github.com/PSModule/Process-PSModule/issues/260
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Handle PullRequest/Action casing in event payloads to detect merged PRs","articleBody":"## Summary\nThe Get-PSModuleSettings action treats merged PRs as abandoned when the event payload uses `PullRequest`/`Action` (PascalCase) keys instead of `pull_request`/`action`.\n\n## Context\nThe GoogleFonts workflow emits event data with `PullRequest` and `Action` properties. When a PR is closed and merged, the evaluated settings show:\n\n- `GITHUB_EVENT_NAME`: pull_request\n- `GITHUB_EVENT_ACTION`: closed\n- `GITHUB_EVENT_PULL_REQUEST_MERGED`: False\n- `isAbandonedPR`: True\n- `isMergedPR`: False\n\nThis causes Publish-Module to run immediately as if the PR was abandoned.\n\n## Expected\nMerged PRs should be detected correctly even when the event payload uses `PullRequest` and `Action` casing.\n\n## Actual\nMerged PRs are treated as abandoned.\n\n## Repro\n1. Trigger the workflow on a merged PR with event payload keys `PullRequest`/`Action` (example payload from GoogleFonts workflow).\n2. Observe the calculated values in Get-PSModuleSettings.\n\n## Proposed fix\nCheck both `action` and `Action`, and both `pull_request` and `PullRequest` when determining PR action and merged status.","author":{"url":"https://github.com/MariusStorhaug","@type":"Person","name":"MariusStorhaug"},"datePublished":"2026-01-17T16:30:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/260/Process-PSModule/issues/260"}
| 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:22ec1979-8f03-5efa-bd8c-7d2cd85de618 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9190:2C4BB6:EAE6AE:14828F0:697B6013 |
| html-safe-nonce | d06a644bf3bc3bb48873a02828c39deaf956b224f1f9d6407a0427763b162f9a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTkwOjJDNEJCNjpFQUU2QUU6MTQ4MjhGMDo2OTdCNjAxMyIsInZpc2l0b3JfaWQiOiI3MDI1MDcxNDcxNDQ5NTYzMTU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 69caeb1efac8720fc7e0821cdef55f913d4751785fc46e7ea56aa1fb83a191a5 |
| hovercard-subject-tag | issue:3825501579 |
| 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/PSModule/Process-PSModule/260/issue_layout |
| twitter:image | https://opengraph.githubassets.com/811c97b6f9dac718b7993cb5b78d61785d5ef862afc88931544be69b779f090a/PSModule/Process-PSModule/issues/260 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/811c97b6f9dac718b7993cb5b78d61785d5ef862afc88931544be69b779f090a/PSModule/Process-PSModule/issues/260 |
| og:image:alt | Summary The Get-PSModuleSettings action treats merged PRs as abandoned when the event payload uses PullRequest/Action (PascalCase) keys instead of pull_request/action. Context The GoogleFonts workf... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MariusStorhaug |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7eed3e20c41f6c464df945b1f353a52c450ca1653f4697d4ebcc58c2adc5868a |
| turbo-cache-control | no-preview |
| go-import | github.com/PSModule/Process-PSModule git https://github.com/PSModule/Process-PSModule.git |
| octolytics-dimension-user_id | 142951047 |
| octolytics-dimension-user_login | PSModule |
| octolytics-dimension-repository_id | 706356420 |
| octolytics-dimension-repository_nwo | PSModule/Process-PSModule |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 706356420 |
| octolytics-dimension-repository_network_root_nwo | PSModule/Process-PSModule |
| 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 | d72d3188f34dc5c9b58eb1a406c45898c7a25009 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width