add api DeletePodListByLabel #889
Workflow file for this run
This file contains 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
# 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 }} |