@@ -132,9 +132,20 @@ runs:
132132 ) >> "${GITHUB_ENV}"
133133
134134 if git status --porcelain &>/dev/null; then
135+ _author_name="$(git log -1 --format='%an' HEAD)"
136+ _author_email="$(git log -1 --format='%ae' HEAD)"
137+
138+ # dependabot commits use the name dependabot[bot]
139+ # and email "49699333+dependabot[bot]@users.noreply.github.com".
140+ # These cause lintian errors.
141+ if [[ "${_author_name}" == "dependabot[bot]" && "${_author_email}" == *"dependabot[bot]@users.noreply.github.com" ]]; then
142+ _author_name="dependabot"
143+ _author_email="support@github.com"
144+ fi
145+
135146 (
136- echo DEBFULLNAME="$(git log -1 --format='%an' HEAD) - GH Action "
137- echo DEBEMAIL="$(git log -1 --format='%ae' HEAD) "
147+ echo DEBFULLNAME="${_author_name} "
148+ echo DEBEMAIL="${_author_email} "
138149 ) >> "${GITHUB_ENV}"
139150 fi
140151
@@ -143,7 +154,7 @@ runs:
143154
144155 - name : Extract source file
145156 if : ${{ inputs.from-sources-file != '' }}
146- uses : kohlerdominik/docker-run-action@v2.0 .0
157+ uses : kohlerdominik/docker-run-action@v2.1 .0
147158 with :
148159 image : ${{ inputs.docker-image }}
149160 volumes : ${{ github.workspace }}:${{ github.workspace }}
@@ -163,7 +174,7 @@ runs:
163174 echo "::endgroup::"
164175
165176 - name : Prepare source package
166- uses : kohlerdominik/docker-run-action@v2.0 .0
177+ uses : kohlerdominik/docker-run-action@v2.1 .0
167178 with :
168179 image : ${{ inputs.docker-image }}
169180 environment : |
@@ -209,7 +220,7 @@ runs:
209220
210221 - name : Install extra APT repositories
211222 if : ${{ inputs.extra-apt-repositories != '' }}
212- uses : kohlerdominik/docker-run-action@v2.0 .0
223+ uses : kohlerdominik/docker-run-action@v2.1 .0
213224 with :
214225 image : ${{ inputs.docker-image }}
215226 # Store the sources list in a volume so that we can reuse it in later steps
@@ -228,7 +239,7 @@ runs:
228239 echo "::endgroup::"
229240
230241 - name : Build source package
231- uses : kohlerdominik/docker-run-action@v2.0 .0
242+ uses : kohlerdominik/docker-run-action@v2.1 .0
232243 with :
233244 image : ${{ inputs.docker-image }}
234245 environment : |
@@ -290,7 +301,7 @@ runs:
290301
291302 - name : Uploading source packages
292303 if : ${{ inputs.from-sources-file == '' }}
293- uses : actions/upload-artifact@v4
304+ uses : actions/upload-artifact@v7
294305 id : build-debian-source-package-upload-step
295306 with :
296307 name : ${{ env.PKG_NAME }}_${{ env.PKG_VERSION }}-debian-source
@@ -304,7 +315,7 @@ runs:
304315 # 2. To ensure that we don't install extra dependencies during sources
305316 # building phase or during lintian phase.
306317 if : ${{ inputs.lintian != 'skip' && inputs.from-sources-file == '' }}
307- uses : kohlerdominik/docker-run-action@v2.0 .0
318+ uses : kohlerdominik/docker-run-action@v2.1 .0
308319 with :
309320 image : ${{ inputs.docker-image }}
310321 environment :
@@ -367,7 +378,7 @@ runs:
367378
368379 - name : Check licenses
369380 if : ${{ inputs.run-lrc != 'false' }}
370- uses : kohlerdominik/docker-run-action@v2.0 .0
381+ uses : kohlerdominik/docker-run-action@v2.1 .0
371382 with :
372383 # Use ubuntu:devel to have a recent version of licenserecon, because we
373384 # found older versions to report false positives (e.g. GPL-2 vs GPL-2+).
@@ -397,7 +408,7 @@ runs:
397408
398409 - name : Build packages
399410 if : ${{ inputs.sources-only != 'true' }}
400- uses : kohlerdominik/docker-run-action@v2.0 .0
411+ uses : kohlerdominik/docker-run-action@v2.1 .0
401412 with :
402413 image : ${{ inputs.docker-image }}
403414 options : |
@@ -489,15 +500,15 @@ runs:
489500 - name : Upload artifacts
490501 if : ${{ inputs.sources-only != 'true' }}
491502 id : build-debian-binary-packages-upload-step
492- uses : actions/upload-artifact@v4
503+ uses : actions/upload-artifact@v7
493504 with :
494505 name : ${{ env.PKG_NAME }}_${{ env.PKG_VERSION }}-debian-packages
495506 path : ${{ env.BUILD_OUTPUT_DIR }}/
496507 if-no-files-found : error
497508
498509 - name : Run lintian on binaries
499510 if : ${{ inputs.lintian != 'skip' && inputs.sources-only != 'true' }}
500- uses : kohlerdominik/docker-run-action@v2.0 .0
511+ uses : kohlerdominik/docker-run-action@v2.1 .0
501512 with :
502513 image : ${{ inputs.docker-image }}
503514 environment :
0 commit comments