Upgrade nixpkgs fork #185
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upgrade nixpkgs fork | |
on: | |
repository_dispatch: | |
workflow_dispatch: | |
schedule: | |
- cron: '51 2 * * 0' | |
jobs: | |
rebase-branches: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo | |
- name: Git rebase | |
run: | | |
git fetch https://github.com/NixOS/nixpkgs nixos-unstable:nixos-unstable | |
git config --global user.email "[email protected]" | |
git config --global user.name "Jörg Thalheim" | |
git rebase nixos-unstable | |
git push --force origin main |