-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release: Add Changelog CI workflow (v0.1.6) (#41)
* chore: Add Changelog CI workflow * chore: Add Changelog CI workflow * chore: Update Changelog CI workflow and dependencies * chore: Update Changelog CI workflow and dependencies * chore: Update Changelog CI workflow and dependencies * chore: Update Changelog CI workflow and dependencies * [Changelog CI] Add Changelog for Version v0.1.6 * chore: Update Changelog CI workflow and dependencies --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>, @devansh-shah-11
- Loading branch information
Showing
3 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: Changelog CI | ||
|
||
# Trigger on pull request event | ||
on: | ||
pull_request: | ||
types: [ opened, synchronize, reopened ] | ||
|
||
|
||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Check out the repository content | ||
- uses: actions/checkout@v2 | ||
|
||
# Run Changelog CI action | ||
- name: Run Changelog CI | ||
uses: saadmk11/[email protected] | ||
with: | ||
changelog_filename: CHANGELOG.md | ||
committer_username: github-actions[bot] | ||
committer_email: github-actions[bot]@users.noreply.github.com | ||
config_file: changelog-config.yaml | ||
# GitHub token for authorization | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
# Create a new release | ||
# - name: Create Release | ||
# id: create_release | ||
# uses: actions/create-release@v1 | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# with: | ||
# tag_name: ${{ github.run_number }} | ||
# release_name: Release ${{ github.run_number }} | ||
# draft: false | ||
# prerelease: false | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
changelog_type: pull_request | ||
header_prefix: '##' | ||
version_prefix: '[' | ||
version_suffix: ']' | ||
sections: | ||
- section: '### Added' | ||
labels: ['added', 'feature', 'enhancement'] | ||
- section: '### Changed' | ||
labels: ['changed', 'refactor'] | ||
- section: '### Fixed' | ||
labels: ['fixed', 'bug'] | ||
- section: '### Removed' | ||
labels: ['removed', 'deprecated'] | ||
include_unlabeled_changes: true | ||
unlabeled_group_title: 'Other Changes' | ||
pull_request_title_regex: '^Release:.*\\(v[0-9]+\\.[0-9]+\\.[0-9]+\\)' | ||
version_regex: 'v([0-9]+\\.[0-9]+\\.[0-9]+)' |