Skip to content

Commit 6794f9f

Browse files
authored
Merge pull request #3 from rahulait/test2
test
2 parents 9511657 + a6e8019 commit 6794f9f

File tree

5 files changed

+157
-20
lines changed

5 files changed

+157
-20
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
<!-- If this is your first PR, welcome! Please make sure you read the [contributing guidelines](.github/CONTRIBUTING.md). -->
2+
<!-- Ensure your PR title complies with the following guidelines
3+
1. All PRs titles should start with one of the following prefixes
4+
- `[fix]` for PRs related to bug fixes and patches
5+
- `[feat]` for PRs related to new features
6+
- `[improvement]` for PRs related to improvements of existing features
7+
- `[test]` for PRs related to tests
8+
- `[CI]` for PRs related to repo CI improvements
9+
- `[docs]` for PRs related to documentation updates
10+
- `[deps]` for PRs related to dependency updates
11+
2. if a PR introduces a breaking change it should include `[breaking]` in the title
12+
3. if a PR introduces a deprecation it should include `[deprecation]` in the title
13+
-->
114
### General:
215

316
* [ ] Have you removed all sensitive information, including but not limited to access keys and passwords?

.github/labels.yml

Lines changed: 31 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,35 @@
1-
- name: added-feature
1+
# PR Labels
2+
- name: new-feature
23
description: for new features in the changelog.
3-
color: a2eeef
4-
- name: changed
5-
description: for changes in existing functionality in the changelog.
6-
color: a2eeef
7-
- name: deprecated
8-
description: for soon-to-be removed features in the changelog.
9-
color: e4e669
10-
- name: removed
11-
description: for now removed features in the changelog.
12-
color: e4e669
4+
color: 225fee
5+
- name: improvement
6+
description: for improvements in existing functionality in the changelog.
7+
color: 22ee47
8+
- name: repo-ci-improvement
9+
description: for improvements in the repository or CI workflow in the changelog.
10+
color: c922ee
1311
- name: bugfix
1412
description: for any bug fixes in the changelog.
15-
color: d73a4a
16-
- name: security
17-
description: for vulnerabilities in the changelog.
18-
color: dd4739
19-
- name: bug
20-
description: Something isn't working in this issue.
21-
color: d73a4a
13+
color: ed8e21
14+
- name: documentation
15+
description: for updates to the documentation in the changelog.
16+
color: d3e1e6
17+
- name: dependencies
18+
description: dependency updates including security fixes
19+
color: 5c9dff
20+
- name: testing
21+
description: for updates to the testing suite in the changelog.
22+
color: 933ac9
23+
- name: breaking-change
24+
description: for breaking changes in the changelog.
25+
color: ff0000
26+
- name: ignore-for-release
27+
description: PRs you do not want to render in the changelog.
28+
color: 7b8eac
29+
# Issue Labels
2230
- name: enhancement
23-
description: New feature request in this issue.
24-
color: a2eeef
31+
description: issues that request a enhancement.
32+
color: 22ee47
33+
- name: bug
34+
description: issues that report a bug.
35+
color: ed8e21

.github/release-drafter.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
name-template: 'v$NEXT_PATCH_VERSION'
2+
tag-template: 'v$NEXT_PATCH_VERSION'
3+
exclude-labels:
4+
- ignore-for-release
5+
categories:
6+
- title: ⚠️ Breaking Change
7+
labels:
8+
- breaking-change
9+
- title: 🐛 Bug Fixes
10+
labels:
11+
- bugfix
12+
- title: 🚀 New Features
13+
labels:
14+
- new-feature
15+
- title: 💡 Improvements
16+
labels:
17+
- improvement
18+
- title: 🧪 Testing Improvements
19+
labels:
20+
- testing
21+
- title: ⚙️ Repo/CI Improvements
22+
labels:
23+
- repo-ci-improvement
24+
- title: 📖 Documentation
25+
labels:
26+
- documentation
27+
- title: 📦 Dependency Updates
28+
labels:
29+
- dependencies
30+
- title: Other Changes
31+
labels:
32+
- "*"
33+
autolabeler:
34+
- label: 'breaking-change'
35+
title:
36+
- '/.*\[breaking\].+/'
37+
- label: 'deprecation'
38+
title:
39+
- '/.*\[deprecation\].+/'
40+
- label: 'bugfix'
41+
title:
42+
- '/.*\[fix\].+/'
43+
- label: 'new-feature'
44+
title:
45+
- '/.*\[feat\].+/'
46+
- label: 'improvement'
47+
title:
48+
- '/.*\[improvement\].+/'
49+
- label: 'testing'
50+
title:
51+
- '/.*\[test\].+/'
52+
- label: 'repo-ci-improvement'
53+
title:
54+
- '/.*\[CI\].+/'
55+
- '/.*\[ci\].+/'
56+
- label: 'documentation'
57+
title:
58+
- '/.*\[docs\].+/'
59+
- label: 'dependencies'
60+
title:
61+
- '/.*\[deps\].+/'
62+
63+
change-template: '- $TITLE by @$AUTHOR in #$NUMBER'
64+
no-changes-template: "- No changes"
65+
template: |
66+
## What's Changed
67+
$CHANGES

.github/workflows/pr-labeler.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: PR labeler
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request_target:
6+
types: [opened, reopened, synchronize]
7+
8+
jobs:
9+
label-pr:
10+
name: Update PR labels
11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
- name: Label PR
21+
uses: release-drafter/release-drafter@v6
22+
with:
23+
disable-releaser: github.ref != 'refs/heads/main'
24+
env:
25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Release Drafter
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
update_release_draft:
14+
permissions:
15+
contents: write
16+
pull-requests: write
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: release-drafter/release-drafter@v6
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)