Title: `upload-sarif post-action step failed: Input required and not supplied: token` · Issue #2553 · github/codeql-action · GitHub
Open Graph Title: `upload-sarif post-action step failed: Input required and not supplied: token` · Issue #2553 · github/codeql-action
X Title: `upload-sarif post-action step failed: Input required and not supplied: token` · Issue #2553 · github/codeql-action
Description: I'm about to release a new version of check-spelling, and I'm tripping on actions/runner#3514 in this action (github/codeql-action/upload-sarif@v3). A run of check-spelling using the current github/codeql-action/upload-sarif@v3 triggers:...
Open Graph Description: I'm about to release a new version of check-spelling, and I'm tripping on actions/runner#3514 in this action (github/codeql-action/upload-sarif@v3). A run of check-spelling using the current github...
X Description: I'm about to release a new version of check-spelling, and I'm tripping on actions/runner#3514 in this action (github/codeql-action/upload-sarif@v3). A run of check-spelling using the curren...
Opengraph URL: https://github.com/github/codeql-action/issues/2553
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`upload-sarif post-action step failed: Input required and not supplied: token`","articleBody":"I'm about to release a new version of check-spelling, and I'm tripping on https://github.com/actions/runner/issues/3514 in this action ([`github/codeql-action/upload-sarif@v3`](https://github.com/github/codeql-action/blob/v3/upload-sarif/action.yml)).\r\n\r\nA run of check-spelling using the current github/codeql-action/upload-sarif@v3 triggers:\r\nhttps://github.com/check-spelling-sandbox/check-spelling/actions/runs/11422357281\r\n\u003cimg width=\"1324\" alt=\"image\" src=\"https://github.com/user-attachments/assets/67e8f35d-ff13-40ce-9efa-3cc971054a81\"\u003e\r\n\r\nhttps://github.com/check-spelling-sandbox/check-spelling/actions/runs/11422357281/job/31780250586#step:9:1\r\n```\r\nPost check-spelling\r\nPost job cleanup.\r\nPost job cleanup.\r\nError: upload-sarif post-action step failed: Input required and not supplied: token\r\n```\r\n\r\nThe error message is wrong -- the action was called with a token. But actions/runner does not reliably send inputs to actions when they run in `post`. As of today (until someone fixes https://github.com/actions/runner/issues/3514), each action must save its inputs from the `pre` or `main` step using the save-state magic and then retrieve the value from the state environment variable when running in the pre stage instead of using inputs.","author":{"url":"https://github.com/jsoref","@type":"Person","name":"jsoref"},"datePublished":"2024-10-20T21:42:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/2553/codeql-action/issues/2553"}
| 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:9e5fb6b7-8b8e-dbda-c1bb-48ea0db0a5bd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ACBE:32C4FB:C0BF31:10D5F4B:6A4E8A6C |
| html-safe-nonce | 5317fa8ec01f9306be9659c58e410a73c63658ff9d454c3f33d3ad21fdfb7c54 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0JFOjMyQzRGQjpDMEJGMzE6MTBENUY0Qjo2QTRFOEE2QyIsInZpc2l0b3JfaWQiOiIzMzYyMTM5MzQ3ODU1NzcyMjY4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 6e50461b7982c929376eb60ced88200a756a976344ddbf360ea539af0b19aa46 |
| hovercard-subject-tag | issue:2600897457 |
| 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/github/codeql-action/2553/issue_layout |
| twitter:image | https://opengraph.githubassets.com/78f68da09039ace9dac8666c2abd4f3ec98c981ebc9acdaa8e31cc8e13cc064b/github/codeql-action/issues/2553 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/78f68da09039ace9dac8666c2abd4f3ec98c981ebc9acdaa8e31cc8e13cc064b/github/codeql-action/issues/2553 |
| og:image:alt | I'm about to release a new version of check-spelling, and I'm tripping on actions/runner#3514 in this action (github/codeql-action/upload-sarif@v3). A run of check-spelling using the current github... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jsoref |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width