Skip to content

Commit d230b15

Browse files
authored
ci: update notify-slack-action to v1.1.0 (#11340)
1 parent 636fda5 commit d230b15

6 files changed

Lines changed: 41 additions & 44 deletions

File tree

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ name: Test Python snippets in docs
22

33
on:
44
schedule:
5-
- cron: '17 3 * * *' # daily at 03:17 UTC
5+
- cron: "17 3 * * *" # daily at 03:17 UTC
66
workflow_dispatch:
77
inputs:
88
haystack_version:
9-
description: 'Haystack version to test against (e.g., 2.16.1, main)'
9+
description: "Haystack version to test against (e.g., 2.16.1, main)"
1010
required: false
11-
default: 'main'
11+
default: "main"
1212
type: string
1313

1414
env:
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup Python
3636
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
3737
with:
38-
python-version: '3.11'
38+
python-version: "3.11"
3939

4040
- name: Install Hatch
4141
run: |
@@ -61,6 +61,6 @@ jobs:
6161
- test-docs-snippets
6262
runs-on: ubuntu-slim
6363
steps:
64-
- uses: deepset-ai/notify-slack-action@3cda73b77a148f16f703274198e7771340cf862b # v1
64+
- uses: deepset-ai/notify-slack-action@a65def0c8bf91d6520286ab34280151c76a5a008 # v1.1.0
6565
with:
6666
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }}

.github/workflows/docs_search_sync.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18-
1918
- name: Checkout Haystack repo
2019
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2120

@@ -50,6 +49,6 @@ jobs:
5049

5150
- name: Notify Slack on nightly failure
5251
if: failure() && github.event_name == 'schedule'
53-
uses: deepset-ai/notify-slack-action@3cda73b77a148f16f703274198e7771340cf862b # v1
52+
uses: deepset-ai/notify-slack-action@a65def0c8bf91d6520286ab34280151c76a5a008 # v1.1.0
5453
with:
5554
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }}

.github/workflows/e2e.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -27,22 +27,22 @@ jobs:
2727
timeout-minutes: 60
2828
runs-on: ubuntu-latest
2929
steps:
30-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
30+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3131

32-
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
33-
with:
34-
python-version: "${{ env.PYTHON_VERSION }}"
32+
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
33+
with:
34+
python-version: "${{ env.PYTHON_VERSION }}"
3535

36-
- name: Install Hatch
37-
run: |
38-
python -m pip install --upgrade pip
39-
pip install hatch==${{ env.HATCH_VERSION }} --uploaded-prior-to=P1D
36+
- name: Install Hatch
37+
run: |
38+
python -m pip install --upgrade pip
39+
pip install hatch==${{ env.HATCH_VERSION }} --uploaded-prior-to=P1D
4040
41-
- name: Run tests
42-
run: hatch run e2e:test
41+
- name: Run tests
42+
run: hatch run e2e:test
4343

44-
- name: Notify Slack on nightly failure
45-
if: failure() && github.event_name == 'schedule'
46-
uses: deepset-ai/notify-slack-action@3cda73b77a148f16f703274198e7771340cf862b # v1
47-
with:
48-
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }}
44+
- name: Notify Slack on nightly failure
45+
if: failure() && github.event_name == 'schedule'
46+
uses: deepset-ai/notify-slack-action@a65def0c8bf91d6520286ab34280151c76a5a008 # v1.1.0
47+
with:
48+
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }}

.github/workflows/license_compliance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ jobs:
5959

6060
- name: Notify Slack on failure
6161
if: failure()
62-
uses: deepset-ai/notify-slack-action@3cda73b77a148f16f703274198e7771340cf862b # v1
62+
uses: deepset-ai/notify-slack-action@a65def0c8bf91d6520286ab34280151c76a5a008 # v1.1.0
6363
with:
6464
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }}

.github/workflows/slow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158

159159
- name: Notify Slack on nightly failure
160160
if: failure() && github.event_name == 'schedule'
161-
uses: deepset-ai/notify-slack-action@3cda73b77a148f16f703274198e7771340cf862b # v1
161+
uses: deepset-ai/notify-slack-action@a65def0c8bf91d6520286ab34280151c76a5a008 # v1.1.0
162162
with:
163163
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }}
164164

.github/workflows/tests.yml

Lines changed: 18 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ on:
1717
- "v[0-9].*[0-9].x"
1818
# when we push, we do not need to satisfy Branch Protection rules, so we can ignore PRs that just change docs
1919
paths-ignore:
20-
- 'docs/**'
21-
- 'docs-website/**'
20+
- "docs/**"
21+
- "docs-website/**"
2222
pull_request:
2323
types:
2424
- opened
@@ -37,9 +37,9 @@ env:
3737

3838
jobs:
3939
check-if-changed:
40-
# This job checks if the relevant files have been changed.
41-
# We check for changes in the check-if-changed job instead of using paths/paths-ignore at workflow level.
42-
# This ensures the "Mark tests as completed" job always runs, which is required by Branch Protection rules.
40+
# This job checks if the relevant files have been changed.
41+
# We check for changes in the check-if-changed job instead of using paths/paths-ignore at workflow level.
42+
# This ensures the "Mark tests as completed" job always runs, which is required by Branch Protection rules.
4343
name: Check if changed
4444
runs-on: ubuntu-slim
4545
permissions:
@@ -224,7 +224,6 @@ jobs:
224224
pip install hatch==${{ env.HATCH_VERSION }} --uploaded-prior-to=P1D
225225
echo "env=$(hatch env find test)" >> "$GITHUB_OUTPUT"
226226
227-
228227
- name: Run
229228
run: hatch run test:integration-only-fast
230229

@@ -257,7 +256,6 @@ jobs:
257256
path: ${{ steps.hatch.outputs.env }}
258257
key: ${{ runner.os }}-${{ github.sha }}
259258

260-
261259
- name: Run
262260
run: hatch run test:integration-only-fast
263261

@@ -297,7 +295,7 @@ jobs:
297295
- integration-tests-windows
298296
runs-on: ubuntu-slim
299297
steps:
300-
- uses: deepset-ai/notify-slack-action@3cda73b77a148f16f703274198e7771340cf862b # v1
298+
- uses: deepset-ai/notify-slack-action@a65def0c8bf91d6520286ab34280151c76a5a008 # v1.1.0
301299
with:
302300
slack-webhook-url: ${{ secrets.SLACK_WEBHOOK_URL_NOTIFICATIONS }}
303301

@@ -314,15 +312,15 @@ jobs:
314312
- integration-tests-windows
315313

316314
steps:
317-
- name: Mark tests as completed
318-
run: |
319-
if [ "${{ needs.check-imports.result }}" = "failure" ] ||
320-
[ "${{ needs.mypy.result }}" = "failure" ] ||
321-
[ "${{ needs.integration-tests-linux.result }}" = "failure" ] ||
322-
[ "${{ needs.integration-tests-macos.result }}" = "failure" ] ||
323-
[ "${{ needs.integration-tests-windows.result }}" = "failure" ]; then
324-
echo "Tests failed!"
325-
exit 1
326-
else
327-
echo "Tests completed!"
328-
fi
315+
- name: Mark tests as completed
316+
run: |
317+
if [ "${{ needs.check-imports.result }}" = "failure" ] ||
318+
[ "${{ needs.mypy.result }}" = "failure" ] ||
319+
[ "${{ needs.integration-tests-linux.result }}" = "failure" ] ||
320+
[ "${{ needs.integration-tests-macos.result }}" = "failure" ] ||
321+
[ "${{ needs.integration-tests-windows.result }}" = "failure" ]; then
322+
echo "Tests failed!"
323+
exit 1
324+
else
325+
echo "Tests completed!"
326+
fi

0 commit comments

Comments
 (0)