nixcfg/.github/workflows/git-sync-mirrors.yml
Aly Raffauf 1413801e6d github: update flake.lock weekly with pull request
github: use DeterminateSystems nix installer

github: run cicid on prs

github/flake-update-inputs: use PAT to trigger subsequent workflows

github: simplify workflow runs

github: setup git after checkout

github/flake-update-inputs: don't self assign reviews

github/git-sync-mirrors: only run on master

github: don't sync to codeberg

github: only run nix checks on .nix updates

github: only run nix checks on .nix and .lock updates

github: ignore .github and _img paths
2024-07-14 11:44:31 -04:00

21 lines
489 B
YAML

name: "git"
on:
push:
branches:
- master
workflow_dispatch:
jobs:
sync-gitlab:
runs-on: ubuntu-latest
steps:
- name: check out repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: "sync gitlab mirror"
uses: yesolutions/mirror-action@v0.7.0
with:
REMOTE: 'https://gitlab.com/alyraffauf/nixcfg.git'
GIT_USERNAME: alyraffauf
GIT_PASSWORD: ${{ secrets.GITLAB_PASSWORD }}