forked from audreyfeldroy/cookiecutter-pypackage
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### Changes * Updated `bump-my-version` to use a [SemVer-v2.0](https://semver.org/spec/v2.0.0.html)-compliant versioning scheme. * Updated much of the information in the top-level `README` file to explain some of the post-install processes required. More documentation is probably necessary. * Organized both the top-level and recipe-level `README`'s for easier updating and clarity. * Added some security steps to existing GitHub Workflows. * Added a configuration for [Dependabot](https://docs.github.com/en/code-security/dependabot/working-with-dependabot) (replaces `actions-version-updater.yml`). * Added workflows for automatic labelling, for [OpenSSF Scorecard](https://securityscorecards.dev/), for automated cleaning of GitHub Cache, and for Dependency-related security issues. * Added a workflow (`workflow-warning.yml`) for emitting warnings for reviewers when an external service/user updates workflow files. * Updated `pre-commit` hook versions. * Updated project metadata to specify that `Python3.12` is supported.
- Loading branch information
Showing
23 changed files
with
616 additions
and
132 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,8 @@ | ||
### What kind of change does this PR introduce? | ||
|
||
* ... | ||
|
||
### Does this PR introduce a breaking change? | ||
|
||
|
||
### Other information: |
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
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,15 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: daily | ||
time: '12:00' | ||
open-pull-requests-limit: 10 | ||
|
||
- package-ecosystem: pip | ||
directory: / | ||
schedule: | ||
interval: daily | ||
time: '12:00' | ||
open-pull-requests-limit: 10 |
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,49 @@ | ||
# label rules used by .github/workflows/label.yml | ||
|
||
# label 'ci' all automation-related steps and files | ||
# Since this repository is in itself an automation process to deploy a server instance, | ||
# we refer here to CI as the 'meta' configuration files for managing the code and integrations with the repository, | ||
# not configurations related to the deployment process itself. | ||
|
||
# Uncomment the following lines to enable the labeler (requires labels with the same name to exist in the repository) | ||
|
||
# label 'ci' all automation-related steps and files | ||
#'CI': | ||
# - changed-files: | ||
# - any-glob-to-any-file: | ||
# - '.editorconfig' | ||
# - '.flake8' | ||
# - '.pre-commit-config.yaml' | ||
{%- if cookiecutter.make_docs != 'y' %} | ||
# - '.readthedocs.yml' | ||
{%- endif %} | ||
# - '.yamllint.yml' | ||
# - '.github/workflows/*' | ||
{%- if cookiecutter.make_docs != 'y' %} | ||
# - 'docs/Makefile' | ||
{%- endif %} | ||
# - 'tox.ini' | ||
# - 'Makefile' | ||
|
||
{%- if cookiecutter.make_docs != 'y' %} | ||
# label 'docs' all documentation-related steps and files | ||
#'docs': | ||
# - changed-files: | ||
# - any-glob-to-any-file: | ||
# - '.readthedocs.yml' | ||
{%- if cookiecutter.open_source_license != 'Not open source' %} | ||
# - '.zenodo.json' | ||
{%- endif %} | ||
# - 'docs/**/*' | ||
# - 'environment-docs.yml' | ||
{%- if cookiecutter.create_author_file != 'y' %} | ||
# - 'AUTHORS.rst' | ||
{%- endif %} | ||
# - 'CONTRIBUTING.rst' | ||
# - 'CODE_OF_CONDUCT.md' | ||
# - 'DISCUSSION_TEMPLATE/**/*' | ||
# - 'ISSUE_TEMPLATE/**/*' | ||
# - 'ISSUE_TEMPLATE.md' | ||
# - 'PULL_REQUEST_TEMPLATE.md' | ||
# - 'README.rst' | ||
{%- endif %} |
28 changes: 0 additions & 28 deletions
28
{{cookiecutter.project_slug}}/.github/workflows/actions-versions-updater.yml
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.