Skip to content

add api DeletePodListByLabel #889

add api DeletePodListByLabel

add api DeletePodListByLabel #889

Workflow file for this run

# make sure the pr is labeled as wanted, case: we could generate changelog by the pr label
name: PR Label Check
# Trigger the workflow on pull requests only
on:
pull_request:
types: [opened, labeled, unlabeled, synchronize]
env:
RELEASE_LABELS: "pr/release/bug, pr/release/feature-new, pr/release/feature-changed, pr/release/doc, pr/release/robot_update_githubpage, pr/release/chart, pr/release/changelog, pr/release/none-required"
jobs:
check-label:
name: Check release-note label set
runs-on: ubuntu-latest
steps:
# must set one of required label, for release note generator
- uses: mheap/[email protected]
with:
mode: exactly
count: 1
labels: ${{ env.RELEASE_LABELS }}