This is an automated email from the ASF dual-hosted git repository.
tanxinyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 29cc71b599f Add timestamp suffix to vulnerability check report.
(#14960)
29cc71b599f is described below
commit 29cc71b599f3740355354248ec2a420e016dab68
Author: Yang Yuming <[email protected]>
AuthorDate: Wed Feb 26 17:13:10 2025 +0800
Add timestamp suffix to vulnerability check report. (#14960)
---
.github/workflows/vulnerability-check.yml | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/vulnerability-check.yml
b/.github/workflows/vulnerability-check.yml
index b94cbc9c63e..d85db02d1f6 100644
--- a/.github/workflows/vulnerability-check.yml
+++ b/.github/workflows/vulnerability-check.yml
@@ -41,9 +41,14 @@ jobs:
- name: Do the dependency-check:aggregate
shell: bash
run: mvn org.owasp:dependency-check-maven:aggregate
+ - name: Convert UTC to East Asia Standard Time and Extract Date
+ run: |
+ utc_time="${{ github.run_started_at }}"
+ target_time=$(TZ=Asia/Shanghai date -d "$utc_time" +"%Y-%m-%d")
+ echo "DATE_EAST_ASIA=$target_time" >> $GITHUB_ENV
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
- name: vulnerability-check-result-${{ runner.os }}
+ name: vulnerability-check-result-${{ runner.os }}-${{
env.DATE_EAST_ASIA }}
path: target/dependency-check-report.html
retention-days: 15