83
83
with :
84
84
persist-credentials : false
85
85
submodules : true
86
- ref : ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
87
86
- name : Mark the workspace as safe
88
87
# https://github.com/actions/checkout/issues/766
89
88
run : git config --global --add safe.directory ${GITHUB_WORKSPACE}
@@ -105,7 +104,6 @@ jobs:
105
104
with :
106
105
persist-credentials : false
107
106
submodules : true
108
- ref : ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
109
107
- name : Run documentation check
110
108
run : |
111
109
apt-get -qq update && apt-get -qq -y install curl yq
@@ -122,7 +120,6 @@ jobs:
122
120
with :
123
121
persist-credentials : false
124
122
submodules : true
125
- ref : ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
126
123
- name : Run unacceptable language check
127
124
env :
128
125
UNACCEPTABLE_WORD_LIST : ${{ inputs.unacceptable_language_check_word_list}}
@@ -139,7 +136,6 @@ jobs:
139
136
with :
140
137
persist-credentials : false
141
138
submodules : true
142
- ref : ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
143
139
- name : Run license header check
144
140
env :
145
141
PROJECT_NAME : ${{ inputs.license_header_check_project_name }}
@@ -156,7 +152,6 @@ jobs:
156
152
with :
157
153
persist-credentials : false
158
154
submodules : true
159
- ref : ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
160
155
- name : Run broken symlinks check
161
156
run : curl -s https://raw.githubusercontent.com/swiftlang/github-workflows/refs/heads/main/.github/workflows/scripts/check-broken-symlinks.sh | bash
162
157
@@ -173,7 +168,6 @@ jobs:
173
168
with :
174
169
persist-credentials : false
175
170
submodules : true
176
- ref : ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
177
171
- name : Mark the workspace as safe
178
172
# https://github.com/actions/checkout/issues/766
179
173
run : git config --global --add safe.directory ${GITHUB_WORKSPACE}
@@ -195,7 +189,6 @@ jobs:
195
189
with :
196
190
persist-credentials : false
197
191
submodules : true
198
- ref : ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
199
192
- name : Mark the workspace as safe
200
193
# https://github.com/actions/checkout/issues/766
201
194
run : git config --global --add safe.directory ${GITHUB_WORKSPACE}
@@ -215,7 +208,6 @@ jobs:
215
208
with :
216
209
persist-credentials : false
217
210
submodules : true
218
- ref : ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
219
211
- name : Run yamllint
220
212
run : |
221
213
which yamllint >/dev/null || ( apt-get update && apt-get install -y yamllint )
@@ -236,7 +228,6 @@ jobs:
236
228
with :
237
229
persist-credentials : false
238
230
submodules : true
239
- ref : ${{ github.ref }} # Include changes to the target branch when action is re-run https://github.com/actions/checkout/issues/1036
240
231
- name : Run flake8
241
232
run : |
242
233
pip3 install flake8 flake8-import-order
0 commit comments