Merge pull request 'ci: add workflow_dispatch to renovate and mirror' (#4846) from viceice/workflow-dispatch into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4846
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
Gusted 2024-08-06 21:39:35 +00:00
commit 85f455964d
2 changed files with 3 additions and 0 deletions

View file

@ -1,6 +1,8 @@
name: mirror name: mirror
on: on:
workflow_dispatch:
schedule: schedule:
- cron: '@daily' - cron: '@daily'

View file

@ -11,6 +11,7 @@ on:
- 'renovate/**' # self-test updates - 'renovate/**' # self-test updates
schedule: schedule:
- cron: '0 0/2 * * *' - cron: '0 0/2 * * *'
workflow_dispatch:
env: env:
RENOVATE_DRY_RUN: ${{ (github.event_name != 'schedule' && github.ref_name != github.event.repository.default_branch) && 'full' || '' }} RENOVATE_DRY_RUN: ${{ (github.event_name != 'schedule' && github.ref_name != github.event.repository.default_branch) && 'full' || '' }}