Title: 馃[Bug]: Repo linting runs on merge to main and fails (missing merge ref) 路 Issue #256 路 PSModule/Process-PSModule 路 GitHub
Open Graph Title: 馃[Bug]: Repo linting runs on merge to main and fails (missing merge ref) 路 Issue #256 路 PSModule/Process-PSModule
X Title: 馃[Bug]: Repo linting runs on merge to main and fails (missing merge ref) 路 Issue #256 路 PSModule/Process-PSModule
Description: Summary The workflow now runs repo linting on merge to main. This is not intended and it fails because the merge ref (squash merge or base) is missing, so linting cannot run in this context. Expected behavior Repo linting should not run ...
Open Graph Description: Summary The workflow now runs repo linting on merge to main. This is not intended and it fails because the merge ref (squash merge or base) is missing, so linting cannot run in this context. Expect...
X Description: Summary The workflow now runs repo linting on merge to main. This is not intended and it fails because the merge ref (squash merge or base) is missing, so linting cannot run in this context. Expect...
Opengraph URL: https://github.com/PSModule/Process-PSModule/issues/256
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"馃[Bug]: Repo linting runs on merge to main and fails (missing merge ref)","articleBody":"## Summary\nThe workflow now runs repo linting on merge to `main`. This is not intended and it fails because the merge ref (squash merge or base) is missing, so linting cannot run in this context.\n\n## Expected behavior\nRepo linting should not run on merge to `main`, or it should run only when the required ref is available.\n\n## Actual behavior\nRepo linting runs on merge to `main` and fails with a missing ref to the squash merge or base.\n\n```plaintext\n 2026-01-16 09:57:40 [INFO] The default branch for this repository is set to: main\n 2026-01-16 09:57:40 [INFO] Successfully found GITHUB_EVENT_PATH: /github/workflow/event.json]\n 2026-01-16 09:57:40 [INFO] Successfully found GITHUB_SHA: 38b3d975e76c7c2d8a11c98279cad4050c89ce07\n 2026-01-16 09:57:40 [INFO] Successfully found GITHUB_TOKEN.\n 2026-01-16 09:57:40 [INFO] Successfully found GITHUB_REPOSITORY: PSModule/GoogleFonts\n 2026-01-16 09:57:40 [INFO] Successfully found GITHUB_RUN_ID 21062160950\n 2026-01-16 09:57:40 [INFO] --------------------------------------------\n 2026-01-16 09:57:40 [INFO] Validating the configuration\n .git\n 2026-01-16 09:57:42 [INFO] Check that the local repository has the full history and that the repository is not shallow.\n 2026-01-16 09:57:42 [INFO] Check that you set the 'fetch-depth: 0' option for the actions/checkout step in your GitHub Actions workflow.\n 2026-01-16 09:57:42 [INFO] See https://github.com/super-linter/super-linter#get-started\n 2026-01-16 09:57:42 [INFO] Is shallow repository: false\n Error: -16 09:57:42 [ERROR] The SHA_REFERENCE reference (5655a76bff10956cbde670685042a489a2d302aa) doesn't exist in this Git repository\n 2026-01-16 09:57:42 [FATAL] Failed to validate GITHUB_SHA (5655a76bff10956cbde670685042a489a2d302aa)\n```\n\n## Steps to reproduce\n1. Merge a PR into `main` (squash merge or merge commit).\n2. Observe the workflow triggering repo linting.\n3. The linting step fails due to missing ref.\n\n## Impact\nLinting is unable to run in this merge context and the workflow fails unnecessarily.\n","author":{"url":"https://github.com/MariusStorhaug","@type":"Person","name":"MariusStorhaug"},"datePublished":"2026-01-16T18:30:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/256/Process-PSModule/issues/256"}
| 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:81b685ab-8f2c-c8e2-65fa-f084abace899 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A154:F0E91:47805B1:6125815:697CAC7E |
| html-safe-nonce | 849ae8b6578317c4a888f85c069b8e1481089e8d0126cbed000e9e6819936bd6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTU0OkYwRTkxOjQ3ODA1QjE6NjEyNTgxNTo2OTdDQUM3RSIsInZpc2l0b3JfaWQiOiIzMDYxMTQzODg2NTA0OTYzMTk4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b278b9540d41e7e7b0dcd670c84d5329c127bfe50fc94701c3d825a0b511c6f3 |
| hovercard-subject-tag | issue:3823139786 |
| 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/256/issue_layout |
| twitter:image | https://opengraph.githubassets.com/84642b0f8c09dd40ff44a597c0ebb9cf4ddcd9e74dbde125f82a10bac401c348/PSModule/Process-PSModule/issues/256 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/84642b0f8c09dd40ff44a597c0ebb9cf4ddcd9e74dbde125f82a10bac401c348/PSModule/Process-PSModule/issues/256 |
| og:image:alt | Summary The workflow now runs repo linting on merge to main. This is not intended and it fails because the merge ref (squash merge or base) is missing, so linting cannot run in this context. Expect... |
| 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 | 5bdfd06d077d4bc79a8063f7549f208cda3158f1322903029653dc97f57b937a |
| 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 | f8a309d88087f59ff1a2f2cd9e9e79ed01a7b84e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width