Unverified Commit 5c98f8d1 authored by Anant Sharma's avatar Anant Sharma Committed by GitHub
Browse files

ci: add PR labels and config for github release notes (#955)

parent 1e8b2866
# SPDX-FileCopyrightText: Copyright (c) 2024-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes
changelog:
exclude:
categories:
- title: 🚀 Features & Improvements
labels: [feat, perf, refactor]
- title: 🐛 Bug Fixes
labels: [fix, revert]
- title: 📚 Documentation
labels: [docs]
- title: 🛠️ Build, CI and Test
labels: [build, ci, test]
- title: Other Changes
labels: ["*"]
exclude:
labels: [chore, style]
...@@ -8,14 +8,12 @@ on: ...@@ -8,14 +8,12 @@ on:
- synchronize - synchronize
- reopened - reopened
permissions:
pull-requests: read
jobs: jobs:
main: conventional-commits:
name: Validate PR title name: Validate PR title and add label
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3 - uses: ytanikin/pr-conventional-commits@b628c5a234cc32513014b7bfdd1e47b532124d98
env: with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} task_types: '["feat", "fix", "docs", "test", "ci", "refactor", "perf", "chore", "revert", "style", "build"]'
add_label: 'true'
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment