2 Commits

Author SHA1 Message Date
2e887a2b31 Update .github/workflows/release.yml
Change how BUILD_TIME is derived

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-29 01:13:59 +02:00
cdc9815cee Update dependency-review.yml
Added permission to add pull-request comments
2025-05-29 01:11:06 +02:00
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ permissions:
contents: read contents: read
# Required to post security advisories # Required to post security advisories
security-events: write security-events: write
pull-requests: write
jobs: jobs:
dependency-review: dependency-review:

View File

@ -147,7 +147,7 @@ jobs:
annotations: ${{ steps.meta.outputs.labels }} annotations: ${{ steps.meta.outputs.labels }}
build-args: | build-args: |
VERSION=${{ github.ref_name }} VERSION=${{ github.ref_name }}
BUILD_TIME=${{ github.event.head_commit.timestamp }} BUILD_TIME=${{ github.event.head_commit.timestamp || github.event.repository.pushed_at }}
GIT_COMMIT=${{ github.sha }} GIT_COMMIT=${{ github.sha }}
cache-from: type=gha cache-from: type=gha
cache-to: type=gha,mode=max cache-to: type=gha,mode=max