Use explicit Gitea revision variables
Publish and promote Helm chart / chart (push) Failing after 1m20s

This commit is contained in:
feedc0de committed 2026-10-18 18:19:21 +02:00
1 parent b8cbdf059d
commit b1ad321edc
1 file changed
+3 -1
+3 -1
View File
@@ -26,9 +26,11 @@ jobs:
https://code.brunner.ninja/api/packages/feedc0de/helm/api/charts
- name: Check that this is still current main
if: gitea.ref == 'refs/heads/main'
env:
COMMIT_SHA: ${{ gitea.sha }}
run: |
git fetch --no-tags origin main
test "$(git rev-parse FETCH_HEAD)" = "${GITEA_SHA}"
test "$(git rev-parse FETCH_HEAD)" = "${COMMIT_SHA}"
- name: Check out GitOps
if: gitea.ref == 'refs/heads/main'
uses: actions/checkout@v4