This repository was archived by the owner on Jun 16, 2025. It is now read-only.
Update sources #481
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 sources | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| update-sources: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.TOKEN }} | |
| - uses: cachix/install-nix-action@v23 | |
| - env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: nix run .#update-sources | |
| - name: push changes | |
| run: | | |
| git config --global user.name 'github-actions[bot]' | |
| git config --global user.email 'willruggiano@users.noreply.github.com' | |
| git commit -am 'chore: update sources' || exit 0 | |
| git push |