Skip to content

Consolidate ha config into a single enableLeaderElection, also fix rolling update stuck bug #149

Consolidate ha config into a single enableLeaderElection, also fix rolling update stuck bug

Consolidate ha config into a single enableLeaderElection, also fix rolling update stuck bug #149

name: Label non-main PRs
on:
pull_request:
types: [opened, edited, synchronize, reopened]
jobs:
add-label:
runs-on: ubuntu-latest
steps:
- name: Add labels when base branch is not main
if: github.event.pull_request.base.ref != 'main'
uses: actions-ecosystem/action-add-labels@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels: |
do-not-merge/hold
do-not-merge/cherry-pick-not-approved