-
-
Notifications
You must be signed in to change notification settings - Fork 62
34 lines (28 loc) · 934 Bytes
/
update-restic.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Update Restic
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
permissions:
contents: write
pull-requests: write
jobs:
update-restic-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check for updates
run: |
./scripts/update-restic-version.sh
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "chore: update restic version"
title: "chore: update restic version"
body: Beep boop. Bot generated PR to update backrest to the latest restic version.
assignees: garethgeorge
branch: "update-restic-version"
base: "main"