WIP for Renovate flows.

This commit is contained in:
2025-09-18 12:35:28 -04:00
parent 218c844e4c
commit d32c1853c8
2 changed files with 14 additions and 10 deletions
@@ -18,3 +18,12 @@ jobs:
- name: Validate docker-compose.yml - name: Validate docker-compose.yml
run: docker compose config run: docker compose config
- name: Trigger Tar Valon Ansible Deploy
run: |
BRANCH="${GITHUB_REF_NAME}"
curl -X POST \
-H "Authorization: token ${{ secrets.BOT_GITEA_TOKEN }}" \
-H "Content-Type: application/json" \
"https://git.trez.wtf/api/v1/repos/Trez/rinoa-docker/actions/workflows/renovate-pr-deploy.yml/dispatches" \
-d "{\"ref\":\"${BRANCH}\"}"
@@ -1,20 +1,15 @@
name: Deploy Renovate Updates name: Deploy Renovate Updates
on: on:
workflow_run: workflow_dispatch:
workflows: ["Check Renovate Updates"] # workflow_run:
types: # workflows: ["Check Renovate Updates"]
- completed # types:
# - completed
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: >
${{
github.event.workflow_run.conclusion == 'success' &&
contains(toLower(github.event.workflow_run.head_commit.author.name), 'renovate')
}}
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v4 uses: actions/checkout@v4