You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Borrowed from the CI action of teorth/equational_theories
2
+
3
+
name: Update Dependencies
4
+
5
+
on:
6
+
schedule: # Sets a schedule to trigger the workflow
7
+
- cron: "0 8 */14 * *"# Every 14 days at 08:00 AM UTC (for more info on the cron syntax see https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#schedule)
8
+
workflow_dispatch: # Allows the workflow to be triggered manually via the GitHub interface
9
+
10
+
jobs:
11
+
update_lean:
12
+
runs-on: ubuntu-latest
13
+
permissions:
14
+
contents: write # Grants permission to push changes to the repository
15
+
issues: write # Grants permission to create or update issues
16
+
pull-requests: write # Grants permission to create or update pull requests
17
+
steps:
18
+
- name: Checkout code
19
+
uses: actions/checkout@v4
20
+
- name: Update project
21
+
uses: leanprover-community/lean-update@main
22
+
with:
23
+
on_update_succeeds: pr # Create a pull request if the update succeeds
24
+
on_update_fails: issue # Create an issue if the update fails
25
+
legacy_update: true # Executes lake -R -Kenv=dev update instead of lake update.
0 commit comments