mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2025-12-24 16:38:17 +03:00
github: releases: Fix auto run
This commit is contained in:
7
.github/workflows/releases.yml
vendored
7
.github/workflows/releases.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user