mirror of
https://github.com/hwchase17/langchain.git
synced 2026-03-18 11:07:36 +00:00
Mostly adding a descriptive frontmatter to workflow files. Also address some formatting and outdated artifacts No functional changes outside of [d5457c3](d5457c39ee), [90708a0](90708a0d99), and [338c82d](338c82d21e)
31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
# Updates the LangChain People data by fetching the latest info from the LangChain Git.
|
|
# TODO: broken/not used
|
|
|
|
name: '👥 LangChain People'
|
|
run-name: 'Update People Data'
|
|
on:
|
|
schedule:
|
|
- cron: "0 14 1 * *" # Runs at 14:00 UTC on the 1st of every month (10AM EDT/7AM PDT)
|
|
push:
|
|
branches: [jacob/people]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
langchain-people:
|
|
if: github.repository_owner == 'langchain-ai' || github.event_name != 'schedule'
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- name: '📋 Dump GitHub Context'
|
|
env:
|
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
|
run: echo "$GITHUB_CONTEXT"
|
|
- uses: actions/checkout@v5
|
|
# Ref: https://github.com/actions/runner/issues/2033
|
|
- name: '🔧 Fix Git Safe Directory in Container'
|
|
run: mkdir -p /home/runner/work/_temp/_github_home && printf "[safe]\n\tdirectory = /github/workspace" > /home/runner/work/_temp/_github_home/.gitconfig
|
|
- uses: ./.github/actions/people
|
|
with:
|
|
token: ${{ secrets.LANGCHAIN_PEOPLE_GITHUB_TOKEN }}
|