Skip to content

Commit

Permalink
Add update-libs flow
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Nov 17, 2024
1 parent 272a484 commit 923e35b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/update-libs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Auto-update Charm Libraries
on:
# Manual trigger
workflow_dispatch:
# Check regularly the upstream every four hours
schedule:
- cron: "0 0,4,8,12,16,20 * * *"

jobs:
update-lib:
name: Check libraries
uses: canonical/observability/.github/workflows/charm-update-libs.yaml@main
secrets: inherit

detect-open-prs:
name: Check open library updates PRs
needs: update-lib
runs-on: ubuntu-24.04
outputs:
open_prs: ${{ steps.open-prs.outputs.open_prs }}

Check failure on line 20 in .github/workflows/update-libs.yaml

View workflow job for this annotation

GitHub Actions / Lint / Lint .github/workflows/

property "open-prs" is not defined in object type {}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

0 comments on commit 923e35b

Please sign in to comment.