Skip to content

Commit df70c5c

Browse files
authored
chore: update actions run-names and add default inputs (langchain-ai#32293)
1 parent d5ca77e commit df70c5c

File tree

6 files changed

+21
-11
lines changed

6 files changed

+21
-11
lines changed

β€Ž.github/workflows/_integration_test.ymlβ€Ž

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: 'πŸš€ Integration Tests'
2+
run-name: 'Test ${{ inputs.working-directory }} on Python ${{ inputs.python-version }}'
23

34
on:
45
workflow_dispatch:
@@ -11,6 +12,7 @@ on:
1112
required: true
1213
type: string
1314
description: "Python version to use"
15+
default: "3.11"
1416

1517
permissions:
1618
contents: read
@@ -24,7 +26,7 @@ jobs:
2426
run:
2527
working-directory: ${{ inputs.working-directory }}
2628
runs-on: ubuntu-latest
27-
name: 'πŸš€ Integration Tests (Python ${{ inputs.python-version }})'
29+
name: 'Python ${{ inputs.python-version }}'
2830
steps:
2931
- uses: actions/checkout@v4
3032

β€Ž.github/workflows/_release.ymlβ€Ž

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: 'πŸš€ Package Release'
2-
run-name: 'Release ${{ inputs.working-directory }} by @${{ github.actor }}'
2+
run-name: 'Release ${{ inputs.working-directory }} ${{ inputs.release-version }}'
33
on:
44
workflow_call:
55
inputs:
@@ -14,6 +14,11 @@ on:
1414
type: string
1515
description: "From which folder this pipeline executes"
1616
default: 'libs/langchain'
17+
release-version:
18+
required: true
19+
type: string
20+
default: '0.1.0'
21+
description: "New version of package being released"
1722
dangerous-nonmaster-release:
1823
required: false
1924
type: boolean

β€Ž.github/workflows/api_doc_build.ymlβ€Ž

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
name: 'πŸ“š API Documentation Build'
1+
name: 'πŸ“š API Docs'
2+
run-name: 'Build & Deploy API Reference'
23
# Runs daily or can be triggered manually for immediate updates
34

45
on:
@@ -51,23 +52,23 @@ jobs:
5152
run: |
5253
# Get unique repositories
5354
REPOS=$(echo "$REPOS_UNSORTED" | sort -u)
54-
55+
5556
# Checkout each unique repository
5657
for repo in $REPOS; do
5758
# Validate repository format (allow any org with proper format)
5859
if [[ ! "$repo" =~ ^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$ ]]; then
5960
echo "Error: Invalid repository format: $repo"
6061
exit 1
6162
fi
62-
63+
6364
REPO_NAME=$(echo $repo | cut -d'/' -f2)
64-
65+
6566
# Additional validation for repo name
6667
if [[ ! "$REPO_NAME" =~ ^[a-zA-Z0-9_.-]+$ ]]; then
6768
echo "Error: Invalid repository name: $REPO_NAME"
6869
exit 1
6970
fi
70-
71+
7172
echo "Checking out $repo to $REPO_NAME"
7273
git clone --depth 1 https://github.com/$repo.git $REPO_NAME
7374
done

β€Ž.github/workflows/people.ymlβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
name: 'πŸ‘₯ LangChain People'
2-
2+
run-name: 'Update People Data'
3+
# This workflow updates the LangChain People data by fetching the latest information from the LangChain Git
34
on:
45
schedule:
56
- cron: "0 14 1 * *"

β€Ž.github/workflows/run_notebooks.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
name: 'πŸ“ Run Documentation Notebooks'
2-
1+
name: 'πŸ““ Validate Documentation Notebooks'
2+
run-name: 'Test notebooks in ${{ inputs.working-directory }}'
33
on:
44
workflow_dispatch:
55
inputs:

β€Ž.github/workflows/scheduled_test.ymlβ€Ž

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: '⏰ Scheduled Integration Tests'
2+
run-name: 'Run Integration Tests'
23

34
on:
45
workflow_dispatch: # Allows maintainers to trigger the workflow manually in GitHub UI
@@ -161,7 +162,7 @@ jobs:
161162
162163
- name: '🧹 Clean up External Libraries'
163164
# Clean up external libraries to avoid affecting git status check
164-
run: |
165+
run: |
165166
rm -rf \
166167
langchain/libs/partners/google-genai \
167168
langchain/libs/partners/google-vertexai \

0 commit comments

Comments
Β (0)