Skip to content

Commit

Permalink
allow testmerging to stable branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladisvell committed Dec 22, 2024
1 parent 3de908b commit 147f19e
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/workflows/testmerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@ concurrency:

on:
workflow_dispatch:

inputs:
apply_to_stable:
description: 'Apply testmerge to stable branch'
type: boolean
required: true
default: false

env:
BASE_BRANCH: master220
TESTMERGE_BRANCH: testmerge
STABLE_BRANCH: stable
REQUIRED_LABEL: testmerge

jobs:
Expand Down Expand Up @@ -162,12 +169,16 @@ jobs:
fi
git push -f origin ${{ env.TESTMERGE_BRANCH }}
if [ ${{ inputs.apply_to_stable }} ] ; then
git push -f origin ${{ env.STABLE_BRANCH }}
fi
# Output the list of merged PRs
echo "${MERGED_PRS[@]}"
echo "merged_prs=${MERGED_PRS[@]}" >> $GITHUB_OUTPUT
echo "END"
#- name: Comment on merged PRs
# uses: actions/github-script@v7
# with:
Expand Down

0 comments on commit 147f19e

Please sign in to comment.