Skip to content

Commit cc62d9e

Browse files
Copilotm-aciek
andauthored
Skip versions with status 'planned' in schedule workflow
Agent-Logs-Url: https://github.com/m-aciek/python-docs-offline/sessions/25d71400-c634-4b08-b01f-1e9ed73c4a2f Co-authored-by: m-aciek <9288014+m-aciek@users.noreply.github.com>
1 parent bbf91a2 commit cc62d9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/schedule.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
id: get-versions
1717
run: |
1818
versions=$(curl -sf https://peps.python.org/api/release-cycle.json | \
19-
jq -c '[to_entries[] | select(.value.status != "end-of-life") | {version: .key, branch: (.value.branch // .key), python_version: (if .key == "3.10" then "3.12" else "3" end)}]')
19+
jq -c '[to_entries[] | select(.value.status != "end-of-life" and .value.status != "planned") | {version: .key, branch: (.value.branch // .key), python_version: (if .key == "3.10" then "3.12" else "3" end)}]')
2020
echo "versions=$versions" >> "$GITHUB_OUTPUT"
2121
build:
2222
needs: get-versions

0 commit comments

Comments
 (0)