name: Weekly Flake Update on: schedule: - cron: "0 0 * * 4" workflow_dispatch: permissions: contents: write jobs: update_and_check_flake: runs-on: ubuntu-latest env: NIXPKGS_ALLOW_UNFREE: 1 steps: - name: Install sudo run: | apt-get update apt-get install -y sudo - uses: https://code.forgejo.org/actions/checkout@v6 - name: Set up Nix uses: https://github.com/cachix/install-nix-action@v31 with: github_access_token: ${{ secrets.AHTLONS_GITHUB_TOKEN }} #Fuck github - name: Run nix flake update run: nix flake update - name: Run nix flake check run: nix flake check --all-systems --verbose - name: Create Gitea PR uses: https://github.com/Mai0313/create-pull-request with: github-server-url: https://git.dynamicdiscord.de token: ${{ secrets.AHTLONS_GITEA_TOKEN }} commit-message: 'Update flake.lock' committer: 'malobot ' title: 'Update flake.lock' assignees: 'ahtlon'