Skip to content

.github/workflows/mirror.yml #293

.github/workflows/mirror.yml

.github/workflows/mirror.yml #293

Workflow file for this run

on:
workflow_dispatch:
schedule:
- cron: '30 5,17 * * *'
jobs:
mirror_tags:
strategy:
fail-fast: false
matrix:
repo:
- NixOS/nix
- nix-community/disko
- nix-community/lanzaboote
- nix-community/nix-direnv
- nix-community/nix-eval-jobs
- nix-community/nixd
- nix-community/nixpkgs-fmt
- nix-community/poetry2nix
- Mic92/nix-update
- Mic92/nixos-shell
- Mic92/nixpkgs-review
- Mic92/ssh-to-age
- astro/deadnix
- figsoda/utf8
- hyprwm/Hyprland
- kamadorueda/alejandra
- kamadorueda/nixel
- nerdypepper/statix
- ryantm/agenix
- vlinkz/nix-software-center
- zhaofengli/colmena
runs-on: ubuntu-latest
permissions:
contents: write # In order to upload artifacts to GitHub releases
id-token: write # In order to request a JWT for AWS auth
steps:
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: oprypin/find-latest-tag@v1
with:
repository: ${{ matrix.repo }}
id: tagfetch
- name: Checkout
uses: actions/checkout@v3
with:
repository: ${{ matrix.repo }}
ref: ${{ steps.tagfetch.outputs.tag }}
- name: Release to FlakeHub
uses: DeterminateSystems/flakehub-push@main
with:
mirror: true
visibility: public
repository: ${{ matrix.repo }}
tag: ${{ steps.tagfetch.outputs.tag }}
log-directives: flakehub_push=trace
logger: pretty
rolling:
strategy:
fail-fast: false
matrix:
include:
- repo: NixOS/nixpkgs
branch: nixos-unstable
- repo: NixOS/nixpkgs
branch: nixos-22.11
rolling-minor: 2211
- repo: NixOS/nixpkgs
branch: nixos-23.05
rolling-minor: 2305
- repo: nix-community/home-manager
branch: master
- repo: nix-community/nixos-generators
branch: master
- repo: NixOS/nixos-hardware
branch: master
- repo: nix-community/dream2nix
branch: main
- repo: cole-h/nixos-config
branch: darwin
- repo: DeterminateSystems/nix-netboot-serve
branch: main
- repo: nixified-ai/flake
branch: master
- repo: numtide/flake-utils
branch: main
- repo: ryantm/nixpkgs-update
branch: main
- repo: zhaofengli/attic
branch: main
- repo: Mic92/sops-nix
branch: master
- repo: nix-community/impermanence
branch: master
- repo: Gerschtli/nix-formatter-pack
branch: master
- repo: jnsgruk/crafts-flake
branch: main
- repo: thiagokokada/nix-alien
branch: master
- repo: danth/stylix
branch: master
runs-on: ubuntu-latest
permissions:
contents: write # In order to upload artifacts to GitHub releases
id-token: write # In order to request a JWT for AWS auth
steps:
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Checkout
uses: actions/checkout@v3
with:
repository: ${{ matrix.repo }}
ref: ${{ matrix.branch }}
- name: Release to FlakeHub
uses: DeterminateSystems/flakehub-push@main
with:
mirror: true
visibility: public
repository: ${{ matrix.repo }}
rolling: true
rolling-minor: ${{ matrix.rolling-minor }}
log-directives: flakehub_push=trace
logger: pretty