@@ -3,7 +3,8 @@ name: CI Build
33
44on :
55 push :
6- branches : [main]
6+ branches :
7+ - main
78 pull_request :
89
910jobs :
@@ -22,13 +23,17 @@ jobs:
2223 - " 3.8"
2324 - " 3.7"
2425 - " pypy3.10"
26+ permissions :
27+ contents : read
2528 env :
2629 CI_LARGE_SOCKET_MODE_PAYLOAD_TESTING_DISABLED : " 1"
2730 FORCE_COLOR : " 1"
2831 steps :
29- - uses : actions/checkout@v4
32+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
33+ with :
34+ persist-credentials : false
3035 - name : Set up Python ${{ matrix.python-version }}
31- uses : actions/setup-python@v5
36+ uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
3237 with :
3338 python-version : ${{ matrix.python-version }}
3439 cache : pip
@@ -50,15 +55,15 @@ jobs:
5055 PYTHONPATH=$PWD:$PYTHONPATH pytest tests/slack_sdk/oauth/state_store/test_sqlalchemy.py
5156 - name : Upload test results to Codecov
5257 if : ${{ !cancelled() }}
53- uses : codecov/test-results-action@v1
58+ uses : codecov/test-results-action@f2dba722c67b86c6caa034178c6e4d35335f6706 # v1.1.0
5459 with :
5560 directory : ./reports/
5661 flags : ${{ matrix.python-version }}
5762 token : ${{ secrets.CODECOV_TOKEN }}
5863 verbose : true
5964 - name : Upload test coverage to Codecov (only with latest supported version)
6065 if : startsWith(matrix.python-version, '3.13')
61- uses : codecov/codecov-action@v5
66+ uses : codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
6267 with :
6368 token : ${{ secrets.CODECOV_TOKEN }}
6469 # Run validation generates the coverage file
0 commit comments