Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
16 changes: 0 additions & 16 deletions .github/workflows/backport-starting-v511.yml

This file was deleted.

34 changes: 5 additions & 29 deletions .github/workflows/backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,9 @@ on:
- main
- v/*
jobs:
get-maintenance-branches:
runs-on: ubuntu-latest
outputs:
branches: "['5.8', '5.9', '5.10', '5.11', '5.12', '5.13', '5.14','5.15']"
steps:
- run: exit 0

backport-to-all-branch:
needs: get-maintenance-branches
strategy:
fail-fast: false
matrix:
branch: ${{ fromJSON(needs.get-maintenance-branches.outputs.branches) }}
uses: hazelcast/hz-docs/.github/workflows/backport-workflow.yml@main
backport:
uses: hazelcast/backport/.github/workflows/backport.yml@master
with:
label-to-check-for: '["backport"]'
target-branch: v/${{ matrix.branch }}
secrets: inherit

backport-to-specified-branch:
needs: get-maintenance-branches
strategy:
fail-fast: false
matrix:
branch: ${{ fromJSON(needs.get-maintenance-branches.outputs.branches) }}
uses: hazelcast/hz-docs/.github/workflows/backport-workflow.yml@main
with:
label-to-check-for: '["backport to ${{ matrix.branch }}"]'
target-branch: v/${{ matrix.branch }}
secrets: inherit
BACKPORT_PREFIX: "backport to"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing labels should be added, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing labels should be added, right?

What do you mean?

secrets:
GH_TOKEN: ${{ secrets.DEVOPSHAZELCAST_PAT_FOR_MONOREPO }}
Loading