Skip to content

Commit 6ea9596

Browse files
[DPE-6653] Signal outdated charm libs with a label (#43)
1 parent e535181 commit 6ea9596

File tree

2 files changed

+33
-17
lines changed

2 files changed

+33
-17
lines changed

.github/workflows/check_libs.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Copyright 2025 Canonical Ltd.
2+
# See LICENSE file for licensing details.
3+
name: Check libs
4+
5+
concurrency:
6+
group: ${{ github.workflow }}-${{ github.ref }}
7+
cancel-in-progress: true
8+
9+
on:
10+
pull_request:
11+
paths-ignore:
12+
- '.gitignore'
13+
- '.jujuignore'
14+
- 'LICENSE'
15+
- '**.md'
16+
- 'renovate.json'
17+
18+
jobs:
19+
lib-check:
20+
name: Check libraries
21+
runs-on: ubuntu-latest
22+
timeout-minutes: 5
23+
if: ${{ github.event.pull_request.head.repo.full_name == 'canonical/mysql-test-app' }}
24+
steps:
25+
- name: Checkout
26+
uses: actions/checkout@v4
27+
with:
28+
fetch-depth: 0
29+
- name: Check libs
30+
uses: canonical/charming-actions/[email protected]
31+
with:
32+
credentials: "${{ secrets.CHARMHUB_TOKEN }}"
33+
github-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/ci.yaml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,6 @@ jobs:
2222
name: Lint
2323
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
2424

25-
lib-check:
26-
name: Check libraries
27-
runs-on: ubuntu-latest
28-
timeout-minutes: 5
29-
steps:
30-
- name: Checkout
31-
uses: actions/checkout@v4
32-
with:
33-
fetch-depth: 0
34-
- name: Check libs
35-
uses: canonical/charming-actions/[email protected]
36-
with:
37-
credentials: ${{ secrets.CHARMHUB_TOKEN }} # FIXME: current token will expire in 2024-06-16
38-
github-token: ${{ secrets.GITHUB_TOKEN }}
39-
use-labels: false
40-
fail-build: ${{ github.event_name == 'pull_request' }}
41-
4225
build:
4326
name: Build charm
4427
uses: canonical/data-platform-workflows/.github/workflows/[email protected]

0 commit comments

Comments
 (0)