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
schedule: # Sets a schedule to trigger the workflow
5
+
- cron: "0 8 */3 * *"# Every 3 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)
6
+
workflow_dispatch: # Allows the workflow to be triggered manually via the GitHub interface
7
+
8
+
jobs:
9
+
update_lean:
10
+
runs-on: ubuntu-latest
11
+
permissions:
12
+
contents: write # Grants permission to push changes to the repository
13
+
issues: write # Grants permission to create or update issues
14
+
pull-requests: write # Grants permission to create or update pull requests
15
+
steps:
16
+
- name: Checkout code
17
+
uses: actions/checkout@v4
18
+
- name: Update project
19
+
uses: oliver-butterley/lean-update@v1-alpha
20
+
with:
21
+
on_update_succeeds: pr # Create a pull request if the update succeeds
22
+
on_update_fails: issue # Create an issue if the update fails
0 commit comments