Update Flake Inputs #15
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: Update Flake Inputs | |
| on: | |
| schedule: | |
| - cron: "0 2 * * 0" | |
| workflow_dispatch: | |
| jobs: | |
| update-flake-inputs: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - name: Generate GitHub App Token | |
| id: app-token | |
| uses: actions/create-github-app-token@v2 | |
| with: | |
| app-id: ${{ secrets.APP_ID }} | |
| private-key: ${{ secrets.APP_PRIVATE_KEY }} | |
| - name: Checkout repository | |
| uses: actions/checkout@v5 | |
| with: | |
| token: ${{ steps.app-token.outputs.token }} | |
| - name: Setup Nix | |
| uses: cachix/install-nix-action@v31 | |
| - name: Update flake inputs | |
| uses: mic92/update-flake-inputs@main | |
| with: | |
| github-token: ${{ steps.app-token.outputs.token }} | |
| auto-merge: true | |
| # Optional: exclude specific files or inputs | |
| # exclude-patterns: 'tests/**/flake.nix,examples/**/flake.nix#home-manager' |