nixos-wiki-infra/.github/workflows/update-extensions.yml

28 lines
753 B
YAML
Raw Normal View History

name: "Update mediawiki extensions"
on:
repository_dispatch:
workflow_dispatch:
schedule:
2024-04-19 09:16:16 +02:00
- cron: "51 2 * * *"
permissions:
pull-requests: write
contents: write
jobs:
2024-04-19 09:14:41 +02:00
update-extensions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: ./modules/nixos-wiki/update-extensions.py ./modules/nixos-wiki/extensions.json
2024-04-19 09:16:16 +02:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
2024-04-19 09:14:41 +02:00
title: Update mediawiki extensions
labels: merge-queue