Skip to content

Commit d15cec6

Browse files
committed
ci: drop ref plumbing from docs release workflows
1 parent e76a7e2 commit d15cec6

4 files changed

Lines changed: 2 additions & 22 deletions

File tree

.github/workflows/manual_release_beta.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,4 @@ jobs:
8383
pages: write
8484
id-token: write
8585
uses: ./.github/workflows/manual_release_docs.yaml
86-
with:
87-
# Build docs from the post-bump commit so the rendered version matches the release.
88-
ref: ${{ needs.changelog_update.outputs.changelog_commitish }}
8986
secrets: inherit

.github/workflows/manual_release_docs.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,9 @@ name: Release docs
33
on:
44
# Runs when manually triggered from the GitHub UI.
55
workflow_dispatch:
6-
inputs:
7-
ref:
8-
description: Git ref to build docs from. Defaults to the workflow's dispatch ref.
9-
required: false
10-
type: string
11-
default: ""
126

137
# Runs when invoked by another workflow.
148
workflow_call:
15-
inputs:
16-
ref:
17-
description: Git ref to build docs from. Defaults to the workflow's dispatch ref.
18-
required: false
19-
type: string
20-
default: ""
219

2210
permissions:
2311
contents: read
@@ -41,8 +29,6 @@ jobs:
4129
- name: Checkout repository
4230
uses: actions/checkout@v6
4331
with:
44-
# Default (empty) falls back to actions/checkout's standard behavior — the ref that triggered the workflow.
45-
ref: ${{ inputs.ref || github.ref }}
4632
token: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
4733

4834
- name: Set up Node

.github/workflows/manual_release_stable.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,4 @@ jobs:
133133
pages: write
134134
id-token: write
135135
uses: ./.github/workflows/manual_release_docs.yaml
136-
with:
137-
# Build docs from the post-bump commit so the rendered version matches the release.
138-
ref: ${{ needs.changelog_update.outputs.changelog_commitish }}
139136
secrets: inherit

.github/workflows/manual_version_docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
workflow_dispatch:
66
inputs:
77
version_number:
8-
description: Version to snapshot (e.g. "3.0.0"). If empty, the current version in pyproject.toml is used.
8+
description: Version to snapshot (e.g. "1.0.0"). If empty, the current version in pyproject.toml is used.
99
required: false
1010
type: string
1111
default: ""
@@ -14,7 +14,7 @@ on:
1414
workflow_call:
1515
inputs:
1616
version_number:
17-
description: Version to snapshot. When empty, the current version in pyproject.toml is used.
17+
description: Version to snapshot (e.g. "1.0.0"). If empty, the current version in pyproject.toml is used.
1818
required: false
1919
type: string
2020
default: ""

0 commit comments

Comments
 (0)