fix: Updated workflows to checkout on commit of commit-version-bump (#7217)

Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
Brian Choromanski
2026-03-18 18:44:39 -04:00
committed by GitHub
parent 26924ab054
commit 78ff4bb875
5 changed files with 29 additions and 0 deletions

View File

@@ -60,12 +60,16 @@ jobs:
uses: ./.github/workflows/test-backend.yml
needs:
- commit-version-bump
with:
ref: ${{ needs.commit-version-bump.outputs.commit-sha }}
frontend-tests:
name: "Frontend Tests"
uses: ./.github/workflows/test-frontend.yml
needs:
- commit-version-bump
with:
ref: ${{ needs.commit-version-bump.outputs.commit-sha }}
build-package:
name: Build Package
@@ -74,6 +78,7 @@ jobs:
- commit-version-bump
with:
tag: ${{ github.event.release.tag_name }}
ref: ${{ needs.commit-version-bump.outputs.commit-sha }}
publish:
permissions:
@@ -90,7 +95,9 @@ jobs:
- backend-tests
- frontend-tests
- build-package
- commit-version-bump
with:
ref: ${{ needs.commit-version-bump.outputs.commit-sha }}
tag: ${{ github.event.release.tag_name }}
tags: |
hkotel/mealie:latest