update-flake-lock #1
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-lock | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| # runs at 2:00 AM on the 25th day of every month | |
| - cron: '0 2 25 * *' | |
| jobs: | |
| update-flake-inputs: | |
| runs-on: ubuntu-slim | |
| permissions: | |
| contents: write | |
| pull-requests: write | |
| steps: | |
| - name: Generate GitHub App Token | |
| id: app-token | |
| uses: actions/create-github-app-token@v3 | |
| with: | |
| app-id: ${{ secrets.MC_RTC_NIX_APP_ID }} | |
| private-key: ${{ secrets.MC_RTC_NIX_APP_PRIVATE_KEY }} | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| 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@v1 | |
| with: | |
| github-token: ${{ steps.app-token.outputs.token }} | |
| pr-labels: 'no-changelog' | |
| git-author-name: 'arntanguy[bot]' | |
| git-author-email: '67139+arntanguy@users.noreply.github.com' |