File tree Expand file tree Collapse file tree 6 files changed +50
-28
lines changed Expand file tree Collapse file tree 6 files changed +50
-28
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ name: Run codecov
2
2
3
3
on :
4
4
push :
5
- branches : [main]
5
+ branches :
6
+ - main
6
7
pull_request :
7
8
8
9
jobs :
@@ -12,12 +13,16 @@ jobs:
12
13
strategy :
13
14
matrix :
14
15
python-version : ["3.13"]
16
+ permissions :
17
+ contents : read
15
18
env :
16
19
BOLT_PYTHON_CODECOV_RUNNING : " 1"
17
20
steps :
18
- - uses : actions/checkout@v4
21
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22
+ with :
23
+ persist-credentials : false
19
24
- name : Set up Python ${{ matrix.python-version }}
20
- uses : actions/setup-python@v5
25
+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
21
26
with :
22
27
python-version : ${{ matrix.python-version }}
23
28
- name : Install dependencies
31
36
run : |
32
37
pytest --cov=./slack_bolt/ --cov-report=xml
33
38
- name : Upload coverage to Codecov
34
- uses : codecov/codecov-action@v5
39
+ uses : codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
35
40
with :
36
41
fail_ci_if_error : true
37
42
verbose : true
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- main
7
7
paths :
8
- - ' docs/**'
8
+ - " docs/**"
9
9
push :
10
10
branches :
11
11
- main
12
12
paths :
13
- - ' docs/**'
13
+ - " docs/**"
14
14
workflow_dispatch :
15
15
16
16
jobs :
17
17
build :
18
18
name : Build Docusaurus
19
19
runs-on : ubuntu-latest
20
+ permissions :
21
+ contents : read
20
22
steps :
21
- - uses : actions/checkout@v4
23
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22
24
with :
23
25
fetch-depth : 0
24
- - uses : actions/setup-node@v4
26
+ persist-credentials : false
27
+ - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
25
28
with :
26
29
node-version : 20
27
30
cache : npm
36
39
working-directory : ./docs
37
40
38
41
- name : Upload Build Artifact
39
- uses : actions/upload-pages-artifact@v3
42
+ uses : actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
40
43
with :
41
44
path : ./docs/build
42
45
59
62
steps :
60
63
- name : Deploy to GitHub Pages
61
64
id : deployment
62
- uses : actions/deploy-pages@v4
65
+ uses : actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ name: Run flake8 validation
2
2
3
3
on :
4
4
push :
5
- branches : [main]
5
+ branches :
6
+ - main
6
7
pull_request :
7
8
8
9
jobs :
@@ -12,10 +13,14 @@ jobs:
12
13
strategy :
13
14
matrix :
14
15
python-version : ["3.13"]
16
+ permissions :
17
+ contents : read
15
18
steps :
16
- - uses : actions/checkout@v4
19
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20
+ with :
21
+ persist-credentials : false
17
22
- name : Set up Python ${{ matrix.python-version }}
18
- uses : actions/setup-python@v5
23
+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
19
24
with :
20
25
python-version : ${{ matrix.python-version }}
21
26
- name : Run flake8 verification
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ name: Run mypy validation
2
2
3
3
on :
4
4
push :
5
- branches : [main]
5
+ branches :
6
+ - main
6
7
pull_request :
7
8
8
9
jobs :
@@ -12,10 +13,14 @@ jobs:
12
13
strategy :
13
14
matrix :
14
15
python-version : ["3.13"]
16
+ permissions :
17
+ contents : read
15
18
steps :
16
- - uses : actions/checkout@v4
19
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20
+ with :
21
+ persist-credentials : false
17
22
- name : Set up Python ${{ matrix.python-version }}
18
- uses : actions/setup-python@v5
23
+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
19
24
with :
20
25
python-version : ${{ matrix.python-version }}
21
26
- name : Run mypy verification
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ name: Run all the unit tests
2
2
3
3
on :
4
4
push :
5
- branches : [main]
5
+ branches :
6
+ - main
6
7
pull_request :
7
8
8
9
jobs :
@@ -20,10 +21,14 @@ jobs:
20
21
- " 3.11"
21
22
- " 3.12"
22
23
- " 3.13"
24
+ permissions :
25
+ contents : read
23
26
steps :
24
- - uses : actions/checkout@v4
27
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28
+ with :
29
+ persist-credentials : false
25
30
- name : Set up Python ${{ matrix.python-version }}
26
- uses : actions/setup-python@v5
31
+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
27
32
with :
28
33
python-version : ${{ matrix.python-version }}
29
34
- name : Install synchronous dependencies
68
73
pytest tests/scenario_tests_async/ --junitxml=reports/test_scenario_async.xml
69
74
- name : Upload test results to Codecov
70
75
if : ${{ !cancelled() }}
71
- uses : codecov/test-results-action@v1
76
+ uses : codecov/test-results-action@f2dba722c67b86c6caa034178c6e4d35335f6706 # v1.1.0
72
77
with :
73
78
directory : ./reports/
74
79
flags : ${{ matrix.python-version }}
Original file line number Diff line number Diff line change 4
4
5
5
name : Close stale issues and PRs
6
6
7
- on :
7
+ on :
8
8
workflow_dispatch :
9
9
schedule :
10
- - cron : ' 0 0 * * 1'
11
-
12
- permissions :
13
- issues : write
14
- pull-requests : write
10
+ - cron : " 0 0 * * 1"
15
11
16
12
jobs :
17
13
stale :
18
14
runs-on : ubuntu-latest
15
+ permissions :
16
+ issues : write
17
+ pull-requests : write
19
18
steps :
20
- - uses : actions/stale@v9.1.0
19
+ - uses : actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
21
20
with :
22
21
days-before-issue-stale : 30
23
22
days-before-issue-close : 10
30
29
exempt-all-milestones : true
31
30
remove-stale-when-updated : true
32
31
enable-statistics : true
33
- operations-per-run : 60
32
+ operations-per-run : 60
You can’t perform that action at this time.
0 commit comments