Skip to content

Commit 38c1b28

Browse files
vdusekclaude
andcommitted
refactor: Remove unnecessary quotes and move env to workflow level
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 45c85d5 commit 38c1b28

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/manual_version_docs.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
workflow_dispatch:
66
inputs:
77
ref:
8-
description: "Git ref to checkout (branch, tag, or SHA). Defaults to the default branch."
8+
description: Git ref to checkout (branch, tag, or SHA). Defaults to the default branch.
99
required: false
1010
type: string
1111
default: ""
@@ -14,12 +14,12 @@ on:
1414
workflow_call:
1515
inputs:
1616
ref:
17-
description: "Git ref to checkout (branch, tag, or SHA)"
17+
description: Git ref to checkout (branch, tag, or SHA)
1818
required: true
1919
type: string
2020
outputs:
2121
version_docs_commitish:
22-
description: "The commit SHA of the versioned docs commit"
22+
description: The commit SHA of the versioned docs commit
2323
value: ${{ jobs.version_docs.outputs.version_docs_commitish }}
2424

2525
concurrency:
@@ -29,6 +29,10 @@ concurrency:
2929
permissions:
3030
contents: read
3131

32+
env:
33+
NODE_VERSION: 22
34+
PYTHON_VERSION: "3.14"
35+
3236
jobs:
3337
version_docs:
3438
name: Version docs
@@ -37,9 +41,6 @@ jobs:
3741
version_docs_commitish: ${{ steps.resolve_commitish.outputs.commitish }}
3842
permissions:
3943
contents: write
40-
env:
41-
NODE_VERSION: 22
42-
PYTHON_VERSION: "3.14"
4344

4445
steps:
4546
- name: Determine checkout ref
@@ -116,7 +117,7 @@ jobs:
116117
id: commit_versioned_docs
117118
uses: EndBug/add-and-commit@v10
118119
with:
119-
add: "website/versioned_docs website/versioned_sidebars website/versions.json"
120+
add: website/versioned_docs website/versioned_sidebars website/versions.json
120121
message: "docs: Version docs for v${{ steps.snapshot.outputs.version }} [skip ci]"
121122
default_author: github_actions
122123

0 commit comments

Comments
 (0)