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
22
33on :
44 push :
5- branches : [main]
5+ branches :
6+ - main
67 pull_request :
78
89jobs :
@@ -12,12 +13,16 @@ jobs:
1213 strategy :
1314 matrix :
1415 python-version : ["3.13"]
16+ permissions :
17+ contents : read
1518 env :
1619 BOLT_PYTHON_CODECOV_RUNNING : " 1"
1720 steps :
18- - uses : actions/checkout@v4
21+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
22+ with :
23+ persist-credentials : false
1924 - name : Set up Python ${{ matrix.python-version }}
20- uses : actions/setup-python@v5
25+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2126 with :
2227 python-version : ${{ matrix.python-version }}
2328 - name : Install dependencies
3136 run : |
3237 pytest --cov=./slack_bolt/ --cov-report=xml
3338 - name : Upload coverage to Codecov
34- uses : codecov/codecov-action@v5
39+ uses : codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
3540 with :
3641 fail_ci_if_error : true
3742 verbose : true
Original file line number Diff line number Diff line change 55 branches :
66 - main
77 paths :
8- - ' docs/**'
8+ - " docs/**"
99 push :
1010 branches :
1111 - main
1212 paths :
13- - ' docs/**'
13+ - " docs/**"
1414 workflow_dispatch :
1515
1616jobs :
1717 build :
1818 name : Build Docusaurus
1919 runs-on : ubuntu-latest
20+ permissions :
21+ contents : read
2022 steps :
21- - uses : actions/checkout@v4
23+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2224 with :
2325 fetch-depth : 0
24- - uses : actions/setup-node@v4
26+ persist-credentials : false
27+ - uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
2528 with :
2629 node-version : 20
2730 cache : npm
3639 working-directory : ./docs
3740
3841 - name : Upload Build Artifact
39- uses : actions/upload-pages-artifact@v3
42+ uses : actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
4043 with :
4144 path : ./docs/build
4245
5962 steps :
6063 - name : Deploy to GitHub Pages
6164 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
22
33on :
44 push :
5- branches : [main]
5+ branches :
6+ - main
67 pull_request :
78
89jobs :
@@ -12,10 +13,14 @@ jobs:
1213 strategy :
1314 matrix :
1415 python-version : ["3.13"]
16+ permissions :
17+ contents : read
1518 steps :
16- - uses : actions/checkout@v4
19+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+ with :
21+ persist-credentials : false
1722 - name : Set up Python ${{ matrix.python-version }}
18- uses : actions/setup-python@v5
23+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
1924 with :
2025 python-version : ${{ matrix.python-version }}
2126 - name : Run flake8 verification
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ name: Run mypy validation
22
33on :
44 push :
5- branches : [main]
5+ branches :
6+ - main
67 pull_request :
78
89jobs :
@@ -12,10 +13,14 @@ jobs:
1213 strategy :
1314 matrix :
1415 python-version : ["3.13"]
16+ permissions :
17+ contents : read
1518 steps :
16- - uses : actions/checkout@v4
19+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
20+ with :
21+ persist-credentials : false
1722 - name : Set up Python ${{ matrix.python-version }}
18- uses : actions/setup-python@v5
23+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
1924 with :
2025 python-version : ${{ matrix.python-version }}
2126 - name : Run mypy verification
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ name: Run all the unit tests
22
33on :
44 push :
5- branches : [main]
5+ branches :
6+ - main
67 pull_request :
78
89jobs :
@@ -20,10 +21,14 @@ jobs:
2021 - " 3.11"
2122 - " 3.12"
2223 - " 3.13"
24+ permissions :
25+ contents : read
2326 steps :
24- - uses : actions/checkout@v4
27+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28+ with :
29+ persist-credentials : false
2530 - name : Set up Python ${{ matrix.python-version }}
26- uses : actions/setup-python@v5
31+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
2732 with :
2833 python-version : ${{ matrix.python-version }}
2934 - name : Install synchronous dependencies
6873 pytest tests/scenario_tests_async/ --junitxml=reports/test_scenario_async.xml
6974 - name : Upload test results to Codecov
7075 if : ${{ !cancelled() }}
71- uses : codecov/test-results-action@v1
76+ uses : codecov/test-results-action@f2dba722c67b86c6caa034178c6e4d35335f6706 # v1.1.0
7277 with :
7378 directory : ./reports/
7479 flags : ${{ matrix.python-version }}
Original file line number Diff line number Diff line change 44
55name : Close stale issues and PRs
66
7- on :
7+ on :
88 workflow_dispatch :
99 schedule :
10- - cron : ' 0 0 * * 1'
11-
12- permissions :
13- issues : write
14- pull-requests : write
10+ - cron : " 0 0 * * 1"
1511
1612jobs :
1713 stale :
1814 runs-on : ubuntu-latest
15+ permissions :
16+ issues : write
17+ pull-requests : write
1918 steps :
20- 19+ - uses : actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
2120 with :
2221 days-before-issue-stale : 30
2322 days-before-issue-close : 10
3029 exempt-all-milestones : true
3130 remove-stale-when-updated : true
3231 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