-
Notifications
You must be signed in to change notification settings - Fork 125
57 lines (48 loc) · 2.11 KB
/
Copy pathsync_uv_excludes.yml
File metadata and controls
57 lines (48 loc) · 2.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Sync uv excludes
# Keeps the [exclude-newer-package] table in uv.toml in sync with the packages
# maintained in deepset-ai/haystack-core-integrations. Runs on a schedule and
# opens a pull request whenever a new integration is added or removed.
on:
workflow_dispatch: # Activate this workflow manually
schedule:
- cron: "0 6 * * 1" # every Monday at 06:00 UTC
permissions:
contents: write
pull-requests: write
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout tutorials
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Checkout haystack-core-integrations
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: deepset-ai/haystack-core-integrations
path: .haystack-core-integrations
sparse-checkout: integrations
sparse-checkout-cone-mode: false
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
with:
python-version: "3.11"
- name: Regenerate uv.toml
run: |
python scripts/generate_uv_excludes.py \
--integrations-repo .haystack-core-integrations \
--uv-toml uv.toml
- name: Create pull request
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
with:
add-paths: uv.toml
branch: chore/sync-uv-excludes
delete-branch: true
commit-message: "chore: sync exclude-newer-package table with haystack-core-integrations"
title: "chore: sync exclude-newer-package table with haystack-core-integrations"
body: |
Automated update of the `[exclude-newer-package]` table in `uv.toml`.
The packages maintained in
[deepset-ai/haystack-core-integrations](https://github.com/deepset-ai/haystack-core-integrations)
changed, so the list of first-party packages exempt from the
`exclude-newer` supply-chain cutoff has been regenerated by
`scripts/generate_uv_excludes.py`.
labels: dependencies