From c1ba71af05804763f7efdfc63dc9e620ca1ab9b8 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 3 Jul 2024 22:08:35 -0400 Subject: [PATCH] github/git: run when flake update is complete --- .github/workflows/flake-update-inputs.yml | 2 +- .github/workflows/git-sync-mirrors.yml | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/flake-update-inputs.yml b/.github/workflows/flake-update-inputs.yml index 5188f09b..e67df1be 100644 --- a/.github/workflows/flake-update-inputs.yml +++ b/.github/workflows/flake-update-inputs.yml @@ -1,4 +1,4 @@ -name: "nix" +name: "flake: update inputs" on: schedule: - cron: "0 6 * * *" diff --git a/.github/workflows/git-sync-mirrors.yml b/.github/workflows/git-sync-mirrors.yml index b78b6ee1..7022489e 100644 --- a/.github/workflows/git-sync-mirrors.yml +++ b/.github/workflows/git-sync-mirrors.yml @@ -1,5 +1,11 @@ name: "git" -on: [push] +on: + push: + workflow_run: + workflows: ["flake: update inputs"] + types: + - completed + workflow_dispatch: jobs: sync-codeberg: runs-on: ubuntu-latest