From 66de606f48f789b0a407d842714de8dd01893dc5 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Wed, 2 Jul 2025 21:52:54 -0500 Subject: [PATCH] ci: update all-maintainers on merge We want to update the master list for RFC39 invites on master after a change is merged in. Signed-off-by: Austin Horstman --- .github/workflows/update-maintainers.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-maintainers.yml b/.github/workflows/update-maintainers.yml index 7597de9df..c2a9ba0aa 100644 --- a/.github/workflows/update-maintainers.yml +++ b/.github/workflows/update-maintainers.yml @@ -1,5 +1,8 @@ name: Update maintainers list on: + push: + branches: ["master"] + paths: ["modules/lib/maintainers.nix"] schedule: # Update every Monday at 9 AM UTC - cron: "0 9 * * 1" @@ -13,7 +16,7 @@ on: jobs: update-maintainers: runs-on: ubuntu-latest - if: github.event_name != 'schedule' || github.repository_owner == 'nix-community' + if: github.repository_owner == 'nix-community' || github.event_name == 'workflow_dispatch' steps: - name: Create GitHub App token uses: actions/create-github-app-token@v2