Update flake.lock #5
This file contains 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: | |
# every day 00:00 +08:00 | |
- cron: "0 16 * * *" | |
jobs: | |
lockfile: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DeterminateSystems/nix-installer-action@main | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
extra-conf: | | |
accept-flake-config = true | |
- name: Update flake.lock | |
uses: DeterminateSystems/update-flake-lock@main | |
with: | |
pr-title: "Update flake.lock" | |
pr-labels: | | |
dependencies | |
automated | |
# NOTE: need to manually provision the secret | |
# Create a token from https://github.com/settings/tokens?type=beta, | |
# grant access to THIS repository only, grant read-only access to | |
# metadata and read/write access to pull requests, and run the | |
# following command: | |
# gh secret set GH_TOKEN_FOR_UPDATES # paste the token | |
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }} |