mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-08-21 15:12:26 +02:00
Extract a composite GitHub Action for Python + uv setup, replacing 12
scattered `astral-sh/setup-uv@v7` calls with a single reusable
`uv_setup` action that scopes cache dependency globs per library. Also
tightens issue template language and fixes a broken expression in the
release-test workflow.
## Changes
- Add `.github/actions/uv_setup/action.yml` — composite action wrapping
`astral-sh/setup-uv@v7` with a `working-directory` input that scopes
`cache-dependency-glob` to `<dir>/pyproject.toml`, `<dir>/uv.lock`, and
`<dir>/requirements*.txt`
- Migrate all workflow files (`_test.yml`, `_lint.yml`,
`_test_langgraph.yml`, `_integration_test.yml`, `baseline.yml`,
`bench.yml`, `ci.yml`, `release.yml`, `_test_release.yml`,
`uv_lock_ugprade.yml`) from inline `astral-sh/setup-uv@v7` to
`./.github/actions/uv_setup`, passing library-specific
`working-directory` for cache scoping
- Fix typo in `_test_release.yml` step name: `$${ env.PYTHON_VERSION }}`
→ `${{ env.PYTHON_VERSION }}`
- Disable uv cache for the release smoke-test job (`enable-cache:
false`) since it installs from PyPI, not the local lockfile
- Update `config.yml` API reference URL to point to `/python/langgraph/`
instead of `/python/`
- Tighten `privileged.yml` — shorter description, add English language
policy link, add "do not begin work unless assigned" notice
29 lines
1.1 KiB
YAML
29 lines
1.1 KiB
YAML
name: "\U0001F512 Privileged"
|
|
description: You are a LangGraph maintainer. If not, check the other options.
|
|
body:
|
|
- type: markdown
|
|
attributes:
|
|
value: |
|
|
> **All contributions must be in English.** See the [language policy](https://docs.langchain.com/oss/python/contributing/overview#language-policy).
|
|
|
|
If you are not a LangGraph maintainer, employee, or were not asked directly by a maintainer to create an issue, then please start the conversation on the [LangChain Forum](https://forum.langchain.com/) instead.
|
|
|
|
**Note:** Do not begin work on a PR unless explicitly assigned to this issue by a maintainer.
|
|
- type: checkboxes
|
|
id: privileged
|
|
attributes:
|
|
label: Privileged issue
|
|
description: Confirm that you are allowed to create an issue here.
|
|
options:
|
|
- label: I am a LangGraph maintainer.
|
|
required: true
|
|
- type: textarea
|
|
id: content
|
|
attributes:
|
|
label: Issue Content
|
|
description: Add the content of the issue here.
|
|
- type: markdown
|
|
attributes:
|
|
value: |
|
|
Please do not begin work on a PR unless explicitly assigned to this issue by a maintainer.
|