1616
1717 steps :
1818 - name : Checkout
19- uses : actions/checkout@v6
19+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2020 with :
2121 fetch-depth : 0 # fetch all tags
22+ persist-credentials : false
2223
2324 - name : Get latest version
2425 id : version
@@ -49,25 +50,29 @@ jobs:
4950 git config --global user.name "${GITHUB_ACTOR}"
5051
5152 - name : Checkout source
52- uses : actions/checkout@v6
53+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5354 with :
5455 path : source
56+ persist-credentials : false
5557
5658 - name : Checkout target
57- uses : actions/checkout@v6
59+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
5860 with :
5961 repository : codeigniter4/framework
6062 token : ${{ secrets.ACCESS_TOKEN }}
6163 path : framework
64+ persist-credentials : false
6265
6366 - name : Chmod
6467 run : chmod +x ./source/.github/scripts/deploy-framework
6568
6669 - name : Deploy
70+ env :
71+ PUSH_TOKEN : ${{ secrets.ACCESS_TOKEN }}
6772 run : ./source/.github/scripts/deploy-framework ${GITHUB_WORKSPACE}/source ${GITHUB_WORKSPACE}/framework ${GITHUB_REF##*/}
6873
6974 - name : Release
70- uses : actions/github-script@v8
75+ uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
7176 with :
7277 github-token : ${{secrets.ACCESS_TOKEN}}
7378 script : |
@@ -99,25 +104,29 @@ jobs:
99104 git config --global user.name "${GITHUB_ACTOR}"
100105
101106 - name : Checkout source
102- uses : actions/checkout@v6
107+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
103108 with :
104109 path : source
110+ persist-credentials : false
105111
106112 - name : Checkout target
107- uses : actions/checkout@v6
113+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
108114 with :
109115 repository : codeigniter4/appstarter
110116 token : ${{ secrets.ACCESS_TOKEN }}
111117 path : appstarter
118+ persist-credentials : false
112119
113120 - name : Chmod
114121 run : chmod +x ./source/.github/scripts/deploy-appstarter
115122
116123 - name : Deploy
124+ env :
125+ PUSH_TOKEN : ${{ secrets.ACCESS_TOKEN }}
117126 run : ./source/.github/scripts/deploy-appstarter ${GITHUB_WORKSPACE}/source ${GITHUB_WORKSPACE}/appstarter ${GITHUB_REF##*/}
118127
119128 - name : Release
120- uses : actions/github-script@v8
129+ uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
121130 with :
122131 github-token : ${{secrets.ACCESS_TOKEN}}
123132 script : |
@@ -149,19 +158,21 @@ jobs:
149158 git config --global user.name "${GITHUB_ACTOR}"
150159
151160 - name : Checkout source
152- uses : actions/checkout@v6
161+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
153162 with :
154163 path : source
164+ persist-credentials : false
155165
156166 - name : Checkout target
157- uses : actions/checkout@v6
167+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
158168 with :
159169 repository : codeigniter4/userguide
160170 token : ${{ secrets.ACCESS_TOKEN }}
161171 path : userguide
172+ persist-credentials : false
162173
163174 - name : Setup Python
164- uses : actions/setup-python@v6
175+ uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
165176 with :
166177 python-version : ' 3.12'
167178
@@ -174,10 +185,12 @@ jobs:
174185 run : chmod +x ./source/.github/scripts/deploy-userguide
175186
176187 - name : Deploy
188+ env :
189+ PUSH_TOKEN : ${{ secrets.ACCESS_TOKEN }}
177190 run : ./source/.github/scripts/deploy-userguide ${GITHUB_WORKSPACE}/source ${GITHUB_WORKSPACE}/userguide ${GITHUB_REF##*/}
178191
179192 - name : Release
180- uses : actions/github-script@v8
193+ uses : actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
181194 with :
182195 github-token : ${{secrets.ACCESS_TOKEN}}
183196 script : |
0 commit comments