Title: Running the Docs workflow via workflow_dispatch always fails · Issue #103884 · python/cpython · GitHub
Open Graph Title: Running the Docs workflow via workflow_dispatch always fails · Issue #103884 · python/cpython
X Title: Running the Docs workflow via workflow_dispatch always fails · Issue #103884 · python/cpython
Description: Our Docs workflow file allows people to manually trigger the workflow on arbitrary branches in their GitHub fork of CPython: cpython/.github/workflows/doc.yml Lines 1 to 4 in 6c4124d name: Docs on: workflow_dispatch: This is a useful fea...
Open Graph Description: Our Docs workflow file allows people to manually trigger the workflow on arbitrary branches in their GitHub fork of CPython: cpython/.github/workflows/doc.yml Lines 1 to 4 in 6c4124d name: Docs on:...
X Description: Our Docs workflow file allows people to manually trigger the workflow on arbitrary branches in their GitHub fork of CPython: cpython/.github/workflows/doc.yml Lines 1 to 4 in 6c4124d name: Docs on:...
Opengraph URL: https://github.com/python/cpython/issues/103884
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Running the Docs workflow via workflow_dispatch always fails","articleBody":"Our Docs workflow file allows people to manually trigger the workflow on arbitrary branches in their GitHub fork of CPython:\r\n\r\nhttps://github.com/python/cpython/blob/6c4124d11ab731f3774e3454ded33df089bd317e/.github/workflows/doc.yml#L1-L4\r\n\r\nThis is a useful feature that I like to use in order to test possible changes prior to filing a PR. However, on latest `main`, while it is still _possible_ to run the Docs workflow via the `workflow_dispatch`, it now always fails if you try to do so. Example failing run on my GitHub fork: https://github.com/AlexWaygood/cpython/actions/runs/4803232831/jobs/8547528105.\r\n\r\nThe error occurs in the \"Get list of changed files\" step here (added to the workflow in #102513):\r\n\r\nhttps://github.com/python/cpython/blob/6c4124d11ab731f3774e3454ded33df089bd317e/.github/workflows/doc.yml#L57-L62\r\n\r\nThe error message is:\r\n\r\n```\r\nRun Ana06/get-changed-files@v[2](https://github.com/AlexWaygood/cpython/actions/runs/4803232831/jobs/8547528105#step:8:2).2.0\r\n with:\r\n filter: Doc/**\r\n token: ***\r\n format: space-delimited\r\n env:\r\n pythonLocation: /opt/hostedtoolcache/Python/[3](https://github.com/AlexWaygood/cpython/actions/runs/4803232831/jobs/8547528105#step:8:3).11.3/x6[4](https://github.com/AlexWaygood/cpython/actions/runs/4803232831/jobs/8547528105#step:8:4)\r\n PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.11.3/x[6](https://github.com/AlexWaygood/cpython/actions/runs/4803232831/jobs/8547528105#step:8:6)4/lib/pkgconfig\r\n Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.[11](https://github.com/AlexWaygood/cpython/actions/runs/4803232831/jobs/8547528105#step:8:11).3/x64\r\n Python2_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.3/x64\r\n Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.11.3/x64\r\n LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.11.3/x64/lib\r\nError: This action only supports pull requests and pushes, workflow_dispatch events are not supported. Please submit an issue on this action's GitHub repo if you believe this in correct.\r\nBase commit: undefined\r\nHead commit: undefined\r\nError: The base and head commits are missing from the payload for this workflow_dispatch event. Please submit an issue on this action's GitHub repo.\r\nError: Not Found\r\n```\r\n\r\nWhile this isn't a _huge_ problem, it would be nice if we could continue to be able to run the Docs workflow via the `workflow_dispatch` trigger without it failing.\r\n\r\nCc. @hugovk, @ezio-melotti, @CAM-Gerlach\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-103889\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/AlexWaygood","@type":"Person","name":"AlexWaygood"},"datePublished":"2023-04-26T16:55:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/103884/cpython/issues/103884"}
| 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:906f435d-f8e2-2acd-bdb6-2d2da15764fd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E4B8:74E61:B1D2D2:F9D653:696A2900 |
| html-safe-nonce | 56bef6939d11a699f245af05e74863d5c4dc549978983764e5dc488955eabba8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEI4Ojc0RTYxOkIxRDJEMjpGOUQ2NTM6Njk2QTI5MDAiLCJ2aXNpdG9yX2lkIjoiMzAxOTE3Nzc5OTcwOTIzOTU1MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 72a202568bcce6a621e85341e07b32985af46576b72bacdc68d76d54a074bc27 |
| hovercard-subject-tag | issue:1685394101 |
| 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/python/cpython/103884/issue_layout |
| twitter:image | https://opengraph.githubassets.com/18dcd3263b19800eb1ab2a8bb7438fd414d62d6ede0a1e1022d2ae88ab927f8e/python/cpython/issues/103884 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/18dcd3263b19800eb1ab2a8bb7438fd414d62d6ede0a1e1022d2ae88ab927f8e/python/cpython/issues/103884 |
| og:image:alt | Our Docs workflow file allows people to manually trigger the workflow on arbitrary branches in their GitHub fork of CPython: cpython/.github/workflows/doc.yml Lines 1 to 4 in 6c4124d name: Docs on:... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AlexWaygood |
| hostname | github.com |
| expected-hostname | github.com |
| None | a1022f03e4f0d91ea173e4e5dac892c982e0588c62f1ce56121d755a320a3569 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| 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 | f472b8e6c7b3fdd5d0354972a3f4c516289bf0be |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width