Show missing git fields instead of a generic message #896
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
# See https://github.com/DataDog/datadog-ci/issues/labels for the list of labels | |
name: PR labels | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- labeled | |
- unlabeled | |
- synchronize | |
jobs: | |
categorize: | |
name: Categorize PR | |
runs-on: ubuntu-latest | |
steps: | |
- name: At least one label required | |
uses: mheap/github-action-required-labels@v5 | |
with: | |
# If a PR has multiple labels, its category in the release notes will be the first one | |
# in the `categories` list in `.github/release.yml` to match any of the PR's labels. | |
# | |
# Example: `synthetics, documentation` would be categorized as "Documentation". | |
mode: minimum | |
count: 1 | |
labels: | | |
dependencies | |
documentation | |
chores | |
release | |
ci-visibility | |
static-analysis | |
rum | |
serverless | |
source-code-integration | |
synthetics | |
profiling |