Skip to content

Commit

Permalink
[DEV] Automatic Labeling of Pull Requests v0.10.1
Browse files Browse the repository at this point in the history
Cookiecutter Python Package v0.10.1 Release
  • Loading branch information
boromir674 authored May 11, 2022
2 parents f531289 + 4e5d0bb commit b7aaaad
Show file tree
Hide file tree
Showing 6 changed files with 49 additions and 5 deletions.
21 changes: 21 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Pull Request Labeling Rules based on changed files

# Add 'ci' label to any change within the '.github' dir
ci:
- any: ['.github/*', '.github/**/*']


# Add 'template' label to any change within the 'src/cookiecutter_python' dir
# Currently, this is where the cookiecutter template (cookiecutter.json, hooks, etc) is
template:
- any: ['src/cookiecutter_python/*', 'src/cookiecutter_python/**/*']


# Add 'docs' label to any change within the 'docs' dir
docs:
- any: ['docs/*', 'docs/**/*']


# Add 'test' label to any change within the 'tests' dir
test:
- any: ['tests/*', 'tests/**/*']
14 changes: 14 additions & 0 deletions .github/workflows/labeler.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: "Pull Request Labeler"
on:
- pull_request_target

jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v4
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
Changelog
=========

0.10.1 (2022-05-11)
-------------------

ci
^^
- add rules for automatic Pull Request labelling, with tags: template, ci, test & docs
- add pull request automatic labeling workflow


0.10.0 (2022-05-11)
===================

Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ For more complex use cases, you can modify the Template and also leverage all of

.. Github Releases & Tags
.. |commits_since_specific_tag_on_master| image:: https://img.shields.io/github/commits-since/boromir674/cookiecutter-python-package/v0.10.0/master?color=blue&logo=github
.. |commits_since_specific_tag_on_master| image:: https://img.shields.io/github/commits-since/boromir674/cookiecutter-python-package/v0.10.1/master?color=blue&logo=github
:alt: GitHub commits since tagged version (branch)
:target: https://github.com/boromir674/cookiecutter-python-package/compare/v0.10.0..master
:target: https://github.com/boromir674/cookiecutter-python-package/compare/v0.10.1..master

.. |commits_since_latest_github_release| image:: https://img.shields.io/github/commits-since/boromir674/cookiecutter-python-package/latest?color=blue&logo=semver&sort=semver
:alt: GitHub commits since latest release (by SemVer)
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[metadata]
## Setuptools specific information
name = cookiecutter_python
version = 0.10.0
version = 0.10.1
# renders on pypi as subtitle
description = Yet another modern Python Package (pypi) with emphasis in CI/CD and automation
long_description = file: README.rst
Expand All @@ -15,7 +15,7 @@ author_email = [email protected]
# represents the web home page of the project
url = https://github.com/boromir674/cookiecutter-python-package

download_url = https://github.com/boromir674/cookiecutter-python-package/archive/v0.10.0.tar.gz
download_url = https://github.com/boromir674/cookiecutter-python-package/archive/v0.10.1.tar.gz

## PyPi specific information
project_urls =
Expand Down
2 changes: 1 addition & 1 deletion src/cookiecutter_python/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.10.0'
__version__ = '0.10.1'

0 comments on commit b7aaaad

Please sign in to comment.