Skip to content
Closed
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/3.7
10 changes: 10 additions & 0 deletions .github/workflows/on_pull_request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ on:

jobs:

populate-labels:
name: Populate labels
if: github.base_ref == 'main'
uses: canonical/charmed-kubeflow-workflows/.github/workflows/populate-labels.yaml@manos-backport-automation
secrets:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
with:
track_file_path: ".github/automatic_backport_tracks.yaml"
label_prefix: "backport "

tests:
name: Run Tests
uses: ./.github/workflows/integrate.yaml
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/on_pull_request_closed.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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@manos-backport-automation
secrets:
CHACI_GPG_PRIVATE: ${{ secrets.CHACI_GPG_PRIVATE }}
CHACI_GPG_PASSPHRASE: ${{ secrets.CHACI_GPG_PASSPHRASE }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
Loading