Skip to content

Commit 953407f

Browse files
authored
Merge branch 'main' into feat-ai-apps-thinking-steps
2 parents 6ae339f + c697f35 commit 953407f

File tree

10 files changed

+52
-23
lines changed

10 files changed

+52
-23
lines changed

.github/workflows/ci-build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@ jobs:
2020
permissions:
2121
contents: read
2222
steps:
23-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
23+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2424
with:
2525
persist-credentials: false
2626
- name: Set up Python ${{ env.LATEST_SUPPORTED_PY }}
27-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
27+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2828
with:
2929
python-version: ${{ env.LATEST_SUPPORTED_PY }}
3030
- name: Run lint verification
@@ -37,11 +37,11 @@ jobs:
3737
permissions:
3838
contents: read
3939
steps:
40-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
40+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
4141
with:
4242
persist-credentials: false
4343
- name: Set up Python ${{ env.LATEST_SUPPORTED_PY }}
44-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
44+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
4545
with:
4646
python-version: ${{ env.LATEST_SUPPORTED_PY }}
4747
- name: Run mypy verification
@@ -71,11 +71,11 @@ jobs:
7171
CI_LARGE_SOCKET_MODE_PAYLOAD_TESTING_DISABLED: "1"
7272
FORCE_COLOR: "1"
7373
steps:
74-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
74+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
7575
with:
7676
persist-credentials: false
7777
- name: Set up Python ${{ matrix.python-version }}
78-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
78+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
7979
with:
8080
python-version: ${{ matrix.python-version }}
8181
cache: pip
@@ -95,7 +95,7 @@ jobs:
9595
PYTHONPATH=$PWD:$PYTHONPATH pytest tests/slack_sdk/oauth/state_store/test_sqlalchemy.py
9696
- name: Upload test results to Codecov
9797
if: ${{ !cancelled() }}
98-
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
98+
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
9999
with:
100100
directory: ./reports/
101101
fail_ci_if_error: true
@@ -105,7 +105,7 @@ jobs:
105105
verbose: true
106106
- name: Upload test coverage to Codecov (only with latest supported version)
107107
if: startsWith(matrix.python-version, env.LATEST_SUPPORTED_PY)
108-
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
108+
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
109109
with:
110110
fail_ci_if_error: true
111111
# Run validation generates the coverage file

.github/workflows/dependencies.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Merge updates to dependencies
2+
on:
3+
pull_request:
4+
jobs:
5+
dependabot:
6+
name: "@dependabot"
7+
if: github.event.pull_request.user.login == 'dependabot[bot]'
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: write
11+
pull-requests: write
12+
steps:
13+
- name: Collect metadata
14+
id: metadata
15+
uses: dependabot/fetch-metadata@21025c705c08248db411dc16f3619e6b5f9ea21a # v2.5.0
16+
with:
17+
github-token: "${{ secrets.GITHUB_TOKEN }}"
18+
- name: Approve
19+
if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'
20+
run: gh pr review --approve "$PR_URL"
21+
env:
22+
PR_URL: ${{github.event.pull_request.html_url}}
23+
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}
24+
- name: Automerge
25+
if: steps.metadata.outputs.update-type == 'version-update:semver-patch' || steps.metadata.outputs.update-type == 'version-update:semver-minor'
26+
run: gh pr merge --auto --squash "$PR_URL"
27+
env:
28+
PR_URL: ${{ github.event.pull_request.html_url }}
29+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pypi-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
contents: read
1919

2020
steps:
21-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
21+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2222
with:
2323
ref: ${{ github.event.release.tag_name || github.ref }}
2424
persist-credentials: false
2525

2626
- name: Set up Python
27-
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
27+
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2828
with:
2929
python-version: "3.x"
3030

@@ -33,7 +33,7 @@ jobs:
3333
scripts/build_pypi_package.sh
3434
3535
- name: Persist dist folder
36-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
36+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
3737
with:
3838
name: release-dist
3939
path: dist/
@@ -52,7 +52,7 @@ jobs:
5252

5353
steps:
5454
- name: Retrieve dist folder
55-
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
55+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
5656
with:
5757
name: release-dist
5858
path: dist/
@@ -76,7 +76,7 @@ jobs:
7676

7777
steps:
7878
- name: Retrieve dist folder
79-
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
79+
uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
8080
with:
8181
name: release-dist
8282
path: dist/

.github/workflows/triage-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
issues: write
1717
pull-requests: write
1818
steps:
19-
- uses: actions/stale@5f858e3efba33a5ca4407a664cc011ad407f2008 # v10.1.0
19+
- uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1
2020
with:
2121
days-before-issue-stale: 30
2222
days-before-issue-close: 10

docs/english/audit-logs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Audit Logs API client
22

3-
The [Audit Logs API](/admins/audit-logs-api) is a set of APIs that you can use to monitor what's happening in your [Enterprise Grid](/enterprise-grid) organization.
3+
The [Audit Logs API](/admins/audit-logs-api) is a set of APIs that you can use to monitor what's happening in your [Enterprise Grid](/enterprise) organization.
44

55
The Audit Logs API can be used by Security Information and Event Management (SIEM) tools to provide an analysis of how your Slack organization is being accessed. You can also use this API to write your own apps to see how members of your organization are using Slack.
66

docs/english/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ import os
6969
SLACK_BOT_TOKEN = os.environ["SLACK_BOT_TOKEN"]
7070
```
7171

72-
Refer to our [best practices for security](/authentication/best-practices-for-security) page for more information.
72+
Refer to our [best practices for security](/security) page for more information.
7373

7474
## Installing on a single workspace {#single-workspace}
7575

docs/english/legacy/auth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import os
3131
SLACK_BOT_TOKEN = os.environ["SLACK_BOT_TOKEN"]
3232
```
3333

34-
Refer to our [best practices for security](/authentication/best-practices-for-security) page for more information.
34+
Refer to our [best practices for security](/security) page for more information.
3535

3636
## Installing on a single workspace {#single-workspace}
3737

docs/english/web.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ See the [`chat.postEphemeral`](/reference/methods/chat.postEphemeral) API method
5757

5858
You can have your app's messages stream in to replicate conventional AI chatbot behavior. This is done through three Web API methods:
5959

60-
* [`chat_startStream`](/reference/methods/chat.startstream)
61-
* [`chat_appendStream`](/reference/methods/chat.appendstream)
62-
* [`chat_stopStream`](/reference/methods/chat.stopstream)
60+
* [`chat_startStream`](/reference/methods/chat.startStream)
61+
* [`chat_appendStream`](/reference/methods/chat.appendStream)
62+
* [`chat_stopStream`](/reference/methods/chat.stopStream)
6363

6464
:::tip[The Python Slack SDK provides a [`chat_stream()`](https://docs.slack.dev/tools/python-slack-sdk/reference/web/client.html#slack_sdk.web.client.WebClient.chat_stream) helper utility to streamline calling these methods.]
6565

requirements/documentation.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
docutils==0.22.3
1+
docutils==0.22.4
22
pdoc3==0.11.6

requirements/tools.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
mypy<=1.19.0;
1+
mypy<=1.19.1;
22
# while flake8 5.x have issues with Python 3.12, flake8 6.x requires Python >= 3.8.1,
33
# so 5.x should be kept in order to stay compatible with Python 3.7/3.8
44
flake8>=5.0.4,<8
55
# Don't change this version without running CI builds;
66
# The latest version may not be available for older Python runtime
7-
black==23.3.0;
7+
black==24.3.0;

0 commit comments

Comments
 (0)