2022-05-13 21:44:49 +00:00
|
|
|
name: "Update flakes"
|
|
|
|
on:
|
|
|
|
repository_dispatch:
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
|
|
- cron: '51 2 * * 0'
|
|
|
|
jobs:
|
|
|
|
createPullRequest:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Install Nix
|
2022-10-17 22:03:04 +00:00
|
|
|
uses: cachix/install-nix-action@v18
|
2022-05-13 21:44:49 +00:00
|
|
|
with:
|
|
|
|
extra_nix_config: |
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
|
|
|
|
- name: Update flake.lock
|
2023-01-23 22:00:58 +00:00
|
|
|
uses: DeterminateSystems/update-flake-lock@v16
|
2022-05-29 09:09:30 +00:00
|
|
|
with:
|
|
|
|
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|