Skip to content

Commit

Permalink
chore: github actions workflow to automate restic version bumps
Browse files Browse the repository at this point in the history
  • Loading branch information
garethgeorge committed Nov 18, 2024
1 parent efa2baa commit 849a944
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/update-restic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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"

0 comments on commit 849a944

Please sign in to comment.