using gitea..
All checks were successful
Deploy Containers / Prepare (push) Successful in 5s

This commit is contained in:
2025-10-18 18:19:40 -04:00
parent 1c35d3d826
commit b237e4a078

View File

@@ -21,12 +21,24 @@ jobs:
echo "${{ secrets.VAULT_PASS }}" > ~/.vault_pass.txt echo "${{ secrets.VAULT_PASS }}" > ~/.vault_pass.txt
python3 scripts/extract_to_template.py python3 scripts/extract_to_template.py
- name: Create PR - name: Commit changes
uses: peter-evans/create-pull-request@v6 run: |
with: git config user.name "Service Account"
token: ${{ secrets.TOKEN }} git config user.email "alex+homelab@alexav.gg"
commit-message: "Extract new template" git checkout -b template-extraction
branch: "template-extraction" git add .
title: "Automated Template Extraction" git commit -m "Automated template extraction"
body: "PR to update the template as new secrets were added" git push origin template-extraction
base: main
- name: Create Pull Request
run: |
curl -X POST \
"https://git.alexav.gg/api/v1/repos/alex/homelab/pulls" \
-H "Authorization: token ${{ secrets.TOKEN }}"
-H "Content-Type: application/json"
-d '{
"title": "Automated Template Extraction",
"body": "Updates the `all.template.yml` file with latest secrets for services",
"head": "template-extraction",
"base": "main"
}'