You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bbba2c4
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .github/workflows/prepare-python-release.yml
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,10 @@
18
18
# token starts no workflow, so the PR would get no TypeScript or Python CI
19
19
# (#5110); a close and reopen fires only `pull_request`, which those workflows
20
20
# do not run on. So it dispatches both on the branch once the PR is open:
21
-
# `workflow_dispatch` is the one event the workflow token can start.
21
+
# `workflow_dispatch` is the one event the workflow token can start. DCO, a
22
+
# `pull_request` workflow, gets no run from that token's events either (GitHub
23
+
# holds it as `action_required`, #5173), so it is dispatched the same way. The
24
+
# Everything diff is not: this PR touches none of the paths it runs on.
22
25
23
26
name: Prepare Python Release
24
27
@@ -38,7 +41,7 @@ jobs:
38
41
permissions:
39
42
contents: write
40
43
pull-requests: write
41
-
# To dispatch the TypeScript and Python workflows on the PR's branch.
44
+
# To dispatch the CI and DCO workflows on the PR's branch.
42
45
actions: write
43
46
steps:
44
47
# The ref this was dispatched on becomes the PR's base, and every PR
@@ -108,7 +111,7 @@ jobs:
108
111
echo "Generated by the **Prepare Python Release** workflow. Nothing is published until a maintainer publishes a GitHub Release."
109
112
echo
110
113
echo "> [!NOTE]"
111
-
echo "> A push made with the workflow token starts no CI, so the workflow dispatched the TypeScriptand Python workflows on this branch. Their results show on this PR as the \`TypeScript (dispatched)\`and \`Python (dispatched)\` statuses. To run them again: \`gh workflow run python.yml --ref $BRANCH\` (and \`typescript.yml\`)."
114
+
echo "> A push made with the workflow token starts no CI, so the workflow dispatched the TypeScript, Python and DCO workflows on this branch. Their results show on this PR as the \`TypeScript (dispatched)\`, \`Python (dispatched)\` and \`DCO (dispatched)\` statuses. To run them again: \`gh workflow run python.yml --ref $BRANCH\` (and \`typescript.yml\`, \`dco.yml\`)."
112
115
} > "$RUNNER_TEMP/pr-body.md"
113
116
# A second run on the same day force-updates the branch, and may
114
117
# stamp a different set of packages; the open PR's body is rewritten
@@ -128,6 +131,6 @@ jobs:
128
131
# The push above starts no workflow (see the header), so CI is
129
132
# dispatched on the branch explicitly, after a first run and a rerun
130
133
# alike.
131
-
for workflow in typescript.yml python.yml; do
134
+
for workflow in typescript.yml python.yml dco.yml; do
0 commit comments