github: releases: Fix auto run

This commit is contained in:
remittor
2025-12-15 23:15:05 +03:00
parent cc7ae8a91c
commit e0ecbf5145

View File

@@ -1,6 +1,9 @@
name: Update releases.json
on:
workflow_run:
workflows: ["build"]
types: [completed]
release:
types: [published, created, edited]
@@ -9,6 +12,10 @@ permissions:
jobs:
update-json:
if: |
github.event_name != 'workflow_run' ||
github.event.workflow_run.conclusion == 'success'
runs-on: ubuntu-latest
steps: