Bump Nix Version #85
This file contains hidden or 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: Bump Nix Version | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| # Run daily at 06:00 UTC | |
| # FIXME, we still need a github app token here, if we also want to trigger ci from this type of PRs | |
| - cron: "0 6 * * *" | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| jobs: | |
| bump: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install Nix | |
| uses: NixOS/nix-installer-action@main | |
| - name: Setup Cachix | |
| uses: cachix/cachix-action@v17 | |
| with: | |
| name: nix-installer | |
| authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | |
| - name: Bump Nix version | |
| run: nix run --inputs-from .# nixpkgs#python3 -- scripts/bump_nix_version.py | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v8 | |
| with: | |
| commit-message: "Bump Nix version" | |
| title: "Bump Nix version" | |
| body: "Automated Nix version bump" | |
| branch: bump-nix-version | |
| delete-branch: true |