1 Commits

Author SHA1 Message Date
49cdfa2e91 Update php Docker tag to v8.5.0
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
lint-test-helm / helm-lint (pull_request) Successful in 43s
2025-12-02 00:01:05 +00:00

View File

@@ -42,12 +42,13 @@ jobs:
run: |
cd ${MANIFEST_DIR}
# Configure Git
echo ">> Configure git to use gitea-bot as user ..."
git config user.name "gitea-bot"
git config user.email "gitea-bot@alexlebens.net"
echo ">> Checking if PR branch exists ..."
git ls-remote --exit-code --heads origin "${BRANCH_NAME}" > /dev/null 2>&1 || true
# Check if pr branch exists
git ls-remote --exit-code --heads origin "${BRANCH_NAME}" > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo ">> Branch '${BRANCH_NAME}' exists, pulling changes ..."
@@ -60,7 +61,7 @@ jobs:
git checkout -b $BRANCH_NAME
fi
echo ">> Remove manfiest files and rebuild from source ..."
# Removing manifest files to account for any deletions and rebuilt from source
cd ${MANIFEST_DIR}/clusters
rm -rf ./*
@@ -136,12 +137,14 @@ jobs:
run: |
cd ${MANIFEST_DIR}
echo ">> Commiting changes to ${BRANCH_NAME} ..."
# Add all changes
echo ">> Commiting to ${BRANCH_NAME} ..."
git add .
git commit -m "chore: Update manifests after change"
echo ">> Pushing changes to $REPO_URL ..."
# Push the new branch to the remote repository
REPO_URL="${{ secrets.REPO_URL }}/${{ gitea.repository }}"
echo ">> Pushing changes to $REPO_URL ..."
git push -u "https://oauth2:${{ secrets.BOT_TOKEN }}@$(echo $REPO_URL | sed -e 's|https://||')" ${BRANCH_NAME}
echo "HEAD_BRANCH=${BRANCH_NAME}" >> $GITEA_OUTPUT