mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
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 <khaneliman12@gmail.com>
This commit is contained in:
5
.github/workflows/update-maintainers.yml
vendored
5
.github/workflows/update-maintainers.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user