flake-update.yaml 946 B

1234567891011121314151617181920212223242526272829
  1. name: Update Flakes
  2. on:
  3. workflow_dispatch:
  4. schedule:
  5. - cron: "0 17 * * 0" # At 17:00 UTC / 2 Midnight JP on Sunday
  6. jobs:
  7. update-flake-lock:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Checkout repository
  11. uses: actions/checkout@v4.1.3
  12. - name: Install Nix
  13. uses: DeterminateSystems/nix-installer-action@main
  14. - name: Update flake.lock
  15. uses: DeterminateSystems/update-flake-lock@main
  16. with:
  17. git-author-name: "Ludovico Piero"
  18. git-author-email: "lewdovico@gnuweeb.org"
  19. git-committer-name: "Ludovico Piero"
  20. git-committer-email: "lewdovico@gnuweeb.org"
  21. token: ${{ secrets.GH_TOKEN }}
  22. commit-msg: "chore: Update flake.lock" # The message provided with the commit
  23. pr-title: "Update flake.lock" # Title of PR to be created
  24. pr-labels: | # Labels to be set on the PR
  25. automated
  26. keep-up-to-date