mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2025-12-31 11:56:02 +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
|
name: Update releases.json
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
workflow_run:
|
||||||
|
workflows: ["build"]
|
||||||
|
types: [completed]
|
||||||
release:
|
release:
|
||||||
types: [published, created, edited]
|
types: [published, created, edited]
|
||||||
|
|
||||||
@@ -9,6 +12,10 @@ permissions:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update-json:
|
update-json:
|
||||||
|
if: |
|
||||||
|
github.event_name != 'workflow_run' ||
|
||||||
|
github.event.workflow_run.conclusion == 'success'
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user