mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-28 21:25:55 +01:00
31a46a16cc
Bumps [mheap/github-action-required-labels](https://github.com/mheap/github-action-required-labels) from 4 to 5. - [Release notes](https://github.com/mheap/github-action-required-labels/releases) - [Commits](https://github.com/mheap/github-action-required-labels/compare/v4...v5) --- updated-dependencies: - dependency-name: mheap/github-action-required-labels dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Wang Yan <wangyan@vmware.com>
24 lines
821 B
YAML
24 lines
821 B
YAML
name: Release Note Label Check
|
|
|
|
# Trigger the workflow on pull requests only
|
|
on:
|
|
pull_request:
|
|
types: [opened, labeled, unlabeled, synchronize]
|
|
|
|
env:
|
|
GOPROXY: https://proxy.golang.org/
|
|
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
|
|
jobs:
|
|
# Ensures correct release-note labels are set:
|
|
# - At least one label
|
|
# - At most one two the main category labels
|
|
check-label:
|
|
name: Check release-note label set
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: mheap/github-action-required-labels@v5
|
|
with:
|
|
mode: minimum
|
|
count: 1
|
|
labels: "release-note/ignore-for-release, release-note/new-feature, release-note/update, release-note/enhancement, release-note/community, release-note/breaking-change, release-note/docs, release-note/infra, release-note/deprecation"
|