Skip to content

Auto-update Charm Libraries #710

Auto-update Charm Libraries

Auto-update Charm Libraries #710

Workflow file for this run

name: Auto-update Charm Libraries
on:
# Manual trigger
workflow_dispatch:
schedule:
- cron: "33 22 * * 5"
permissions:
contents: write
pull-requests: write
jobs:
update-lib:
name: Check libraries
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Fetch charm libraries
run: |
sudo snap install charmcraft --classic
charmcraft fetch-lib
- name: Create a PR for local changes
uses: peter-evans/create-pull-request@v7
with:
commit-message: "chore: update charm libraries"
committer: "Github Actions <[email protected]>"
author: "Github Actions <[email protected]>"
title: "Update charm libraries"
body: |
Automated action to fetch latest version of charm libraries. The branch of this PR
will be wiped during the next check. Unless you really know what you're doing, you
most likely don't want to push any commits to this branch.
branch: "chore/auto-libs"
delete-branch: true