Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/repo-sync.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Pull upstream changes from lenianiva/lean4-nix daily at 12am UTC
# Pull upstream changes from lenianiva/lean4-nix daily at midnight
name: Repo sync

on:
schedule:
- cron: "0 0 * * *"
- cron: "0 0 * * *"
timezone: America/New_York
workflow_dispatch:

permissions: {}
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/update-flake-lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Move nixpkgs and flake-parts to their latest revisions once a week and open
# a PR against dev. Downstream flakes follow this one for nixpkgs, so this is
# the one place that pin advances; they pick it up when lean-update bumps
# their lean4-nix input on the next Lean release.
name: Update flake inputs

on:
schedule:
# Weekly on Monday at midnight
- cron: "0 0 * * 1"
timezone: America/New_York
workflow_dispatch:

permissions:
contents: write
pull-requests: write

jobs:
update:
name: Update flake.lock
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: cachix/install-nix-action@13d8dd58da0234aa297dedd986986ccb8e7f3e24 # v31.11.1
with:
github_access_token: ${{ github.token }}
# A fixed branch name means a still-open PR is updated in place rather
# than a second one opened. The PR is opened with GITHUB_TOKEN, so CI
# runs once a maintainer closes and reopens it.
- uses: DeterminateSystems/update-flake-lock@da03c0f078bc4b2c37ee4f7e072d34bf8f188bb3 # v29
with:
branch: update/flake-lock
commit-msg: "chore: Update flake inputs"
pr-title: "chore: Update flake inputs"
3 changes: 2 additions & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ name: Update toolchain

on:
schedule:
# Daily at 00:00 UTC
# Daily at midnight
- cron: "0 0 * * *"
timezone: America/New_York
workflow_dispatch:

permissions:
Expand Down
Loading