Consolidate ha config into a single enableLeaderElection, also fix rolling update stuck bug #149
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |