Skip to content
This repository was archived by the owner on Jul 17, 2026. It is now read-only.

Commit cc67bbb

Browse files
authored
ci: small improvements to some workflows (deepset-ai#12034)
1 parent 13ce767 commit cc67bbb

6 files changed

Lines changed: 12 additions & 14 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
name: CodeQL
22

33
on:
4+
# Skip runs that do not touch Python code
45
push:
56
branches: [main]
7+
paths:
8+
- "**/*.py"
9+
- ".github/workflows/codeql.yml"
610
pull_request:
711
branches: [main]
12+
paths:
13+
- "**/*.py"
14+
- ".github/workflows/codeql.yml"
815
workflow_dispatch:
916

1017
permissions:

.github/workflows/docs-website-test-docs-snippets.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,8 @@ jobs:
2626
AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }}
2727
AZURE_OPENAI_AD_TOKEN: ${{ secrets.AZURE_OPENAI_AD_TOKEN }}
2828
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
29-
CORE_AZURE_CS_ENDPOINT: ${{ secrets.CORE_AZURE_CS_ENDPOINT }}
3029
HF_API_TOKEN: ${{ secrets.HUGGINGFACE_API_KEY }}
3130
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
32-
SERPERDEV_API_KEY: ${{ secrets.SERPERDEV_API_KEY }}
3331

3432
steps:
3533
- name: Checkout

.github/workflows/e2e.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ env:
1717
PYTHON_VERSION: "3.10"
1818
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
1919
HATCH_VERSION: "1.16.5"
20-
# we use HF_TOKEN instead of HF_API_TOKEN to work around a Hugging Face bug
21-
# see https://github.com/deepset-ai/haystack/issues/9552
22-
HF_TOKEN: ${{ secrets.HUGGINGFACE_API_KEY }}
2320

2421
permissions:
2522
contents: read

.github/workflows/slow.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ name: Slow Integration Tests
1111

1212
env:
1313
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
14-
HF_API_TOKEN: ${{ secrets.HUGGINGFACE_API_KEY }}
1514
PYTHON_VERSION: "3.10"
1615
HATCH_VERSION: "1.16.5"
1716
HAYSTACK_MPS_ENABLED: false
@@ -75,7 +74,7 @@ jobs:
7574
github.event_name == 'workflow_dispatch' ||
7675
github.event_name == 'schedule' ||
7776
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'run-slow-tests')) ||
78-
(github.event_name == 'push' && github.ref == 'refs/heads/v[0-9].*[0-9].x') ||
77+
github.event_name == 'push' ||
7978
(needs.check-if-changed.outputs.changes == 'true')
8079
8180
strategy:

.github/workflows/tests.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ on:
1616
- "v[0-9].*[0-9].x"
1717
# when we push, we do not need to satisfy Branch Protection rules, so we can ignore PRs that just change docs
1818
paths-ignore:
19-
- "docs/**"
2019
- "docs-website/**"
20+
- "**/*.md"
21+
- "images/**"
2122
pull_request:
2223
types:
2324
- opened
@@ -26,11 +27,8 @@ on:
2627

2728
env:
2829
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
29-
CORE_AZURE_CS_ENDPOINT: ${{ secrets.CORE_AZURE_CS_ENDPOINT }}
30-
CORE_AZURE_CS_API_KEY: ${{ secrets.CORE_AZURE_CS_API_KEY }}
3130
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
3231
AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }}
33-
HF_API_TOKEN: ${{ secrets.HUGGINGFACE_API_KEY }}
3432
PYTHON_VERSION: "3.10"
3533
HATCH_VERSION: "1.16.5"
3634

.github/workflows/update-platform-components.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Update Platform Components Table
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
schedule:
5+
- cron: "0 2 * * *"
76
workflow_dispatch:
87

98
concurrency:

0 commit comments

Comments
 (0)