diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..96fe9c3 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,14 @@ +version: 2 +updates: + - package-ecosystem: nuget + directory: '/' + schedule: + interval: monthly + reviewers: + - meysamhadeli + assignees: + - meysamhadeli + ignore: + - dependency-name: '*' + versions: + - '>= 0' \ No newline at end of file diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..0ff9814 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,39 @@ + + +## What does this PR do? + + + +## Why is it important? + + + +## Related issues + + +- + + + + \ No newline at end of file diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..4b935df --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,99 @@ +# https://johanneskonings.dev/github/2021/02/28/github_automatic_releases_and-changelog/ +# https://tiagomichaelsousa.dev/articles/stop-writing-your-changelogs-manually +# https://github.com/release-drafter/release-drafter/issues/551 +# https://github.com/release-drafter/release-drafter/pull/1013 +# https://github.com/release-drafter/release-drafter/issues/139 +# https://github.com/atk4/data/blob/develop/.github/release-drafter.yml + +# This release drafter follows the conventions from https://keepachangelog.com, https://common-changelog.org/ +# https://www.conventionalcommits.org + +name-template: 'v$RESOLVED_VERSION' +tag-template: 'v$RESOLVED_VERSION' +template: | + ## What Changed ๐Ÿ‘€ + + $CHANGES + **Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION +categories: + - title: ๐Ÿš€ Features + labels: + - feature + - title: ๐Ÿ› Bug Fixes + labels: + - fix + - bug + - title: โ™ป๏ธ Changes + labels: + - changed + - enhancement + - refactor + - title: โ›”๏ธ Deprecated + labels: + - deprecated + - title: ๐Ÿ—‘ Removed + labels: + - removed + - title: ๐Ÿ” Security + labels: + - security + - title: ๐Ÿ“„ Documentation + labels: + - docs + - documentation + - title: ๐Ÿงฉ Dependency Updates + labels: + - deps + - dependencies + - title: ๐Ÿงฐ Maintenance + label: 'chore' + - title: ๐Ÿงบ Miscellaneous #Everything except ABAP + label: misc + - title: ๐Ÿ“ Other changes +## putting no labels pr to `Other Changes` category with no label - https://github.com/release-drafter/release-drafter/issues/139#issuecomment-480473934 + +# https://www.trywilco.com/post/wilco-ci-cd-github-heroku +# https://github.com/release-drafter/release-drafter#autolabeler +# https://github.com/fuxingloh/multi-labeler + +# Using regex for defining rules - https://regexr.com/ - https://regex101.com/ +autolabeler: + - label: 'chore' + branch: + - '/(chore)\/.*/' + title: + - '/^chore: .*/' + - label: 'docs' + branch: + - '/(docs)\/.*/' + title: + - '/^docs: .*/' + - label: 'bug' + branch: + - '/(fix)\/.*/' + title: + - '/^fix: .*/' + - label: 'feature' + branch: + - '/(feat)\/.*/' + title: + - '/^feat: .*/' + body: + - '/JIRA-[0-9]{1,4}/' + +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. +version-resolver: + major: + labels: + - major + minor: + labels: + - minor + patch: + labels: + - patch + default: patch + +exclude-labels: + - skip-changelog diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..b209cf1 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,47 @@ +# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes +# https://github.com/bcoe/conventional-release-labels +# https://dev.to/github/how-to-automatically-generate-release-notes-for-your-project-2ng8 +# https://www.conventionalcommits.org/en/v1.0.0/ + +# github release pre-defined template +changelog: + exclude: + labels: + - ignore-for-release + categories: + - title: ๐Ÿš€ Features + labels: + - feature + - title: ๐Ÿ› Bug Fixes + labels: + - fix + - bug + - title: โ™ป๏ธ Changes + labels: + - changed + - enhancement + - refactor + - title: โ›”๏ธ Deprecated + labels: + - deprecated + - title: ๐Ÿ—‘ Removed + labels: + - removed + - title: ๐Ÿ” Security + labels: + - security + - title: ๐Ÿ“„ Documentation + labels: + - docs + - documentation + - title: ๐Ÿงฉ Dependency Updates + labels: + - deps + - dependencies + - title: ๐Ÿงฐ Maintenance + label: 'chore' + - title: ๐Ÿงบ Miscellaneous #Everything except ABAP + label: misc + - title: Other Changes + labels: + - "*"