Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/automatic_backport_tracks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
automatic_backport_tracks:
- track/1.9
9 changes: 9 additions & 0 deletions .github/workflows/on_pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ on:
pull_request:

jobs:

populate-labels:
name: Populate labels
if: github.base_ref == 'main' && (github.event.action == 'opened' || github.event.action == 'reopened')
uses: canonical/charmed-kubeflow-workflows/.github/workflows/populate-labels.yaml@main
secrets: inherit
with:
track_file_path: ".github/automatic_backport_tracks.yaml"
label_prefix: "backport "
build-charm:
name: Build charm
runs-on: ubuntu-24.04
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/on_pull_request_closed.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: On Pull Request Closed

on:
pull_request_target:
types: [closed]
branches:
- main

permissions:
contents: write
pull-requests: write

jobs:
backport:
name: Backport pull request
if: github.event.pull_request.merged
uses: canonical/charmed-kubeflow-workflows/.github/workflows/backport-pr.yaml@main
secrets: inherit
Loading