diff --git a/.github/workflows/ci_template.yaml b/.github/workflows/ci_template.yaml index a4a654f..57a2a9a 100644 --- a/.github/workflows/ci_template.yaml +++ b/.github/workflows/ci_template.yaml @@ -1,6 +1,6 @@ name: CI/CD Pipeline Template -run-name: Template CI/CD Pipeline - ${{ github.sha}} +run-name: Template CI/CD Pipeline - ${{ github.sha}} # appears in workflow runs # This workflow is a template for CI/CD pipelines for Python projects but can have Python swapped for Node.js or other languages. @@ -462,7 +462,7 @@ jobs: notes += f"Latest Version: ${{ needs.semantic_release.outputs.next-version }}\n\n" notes += f"Commit Message: ${{ steps.changelog-commit.outputs.commit_message }}\n\n" - + notes += f"(Changes with commit messages since last release)\n\n" if breaking: notes += "## 💥 BREAKING CHANGES\n" notes += "\n".join(breaking) + "\n\n" @@ -476,7 +476,7 @@ jobs: notes += "\n".join(fixes) + "\n\n" if other: - notes += "## 📝 Other Changes\n" + notes += "## 📝 Previous commits\n" notes += "\n".join(other) + "\n\n" notes += "## CHANGELOG\n" # Read the latest section from CHANGELOG.md diff --git a/README_CRAIG_NOTES_POETRY.md b/README_CRAIG_NOTES_POETRY.md new file mode 100644 index 0000000..97ea79f --- /dev/null +++ b/README_CRAIG_NOTES_POETRY.md @@ -0,0 +1,67 @@ +# Conventional commits + +## Using local Wholepal2 + +`poetry add conventional-pre-commit` + +`poetry run pre-commit install --hook-type commit-msg` + +*add to pre-commit-config.yaml* + + - repo: https://github.com/compilerla/conventional-pre-commit + rev: v2.1.1 + hooks: + - id: conventional-pre-commit + stages: [commit-msg] + +types: + - feat + - fix + - docs + - style + - refactor + - test + - chore + - ci + - build + - perf + - revert + +scopes: + - api + - ui + - auth + - db + - config + +optional_scopes: true + +# Valid commit messages +git commit -m "feat: add user authentication" +git commit -m "fix: resolve database connection issue" +git commit -m "docs: update README with setup instructions" +git commit -m "feat(auth): implement JWT token validation" +git commit -m "fix(db): handle connection timeout errors" + +## Secrets + + - repo: https://github.com/Yelp/detect-secrets + rev: v1.4.0 + hooks: + - id: detect-secrets + + - repo: local + hooks: + - id: scan_secrets_id + name: Scan for leaks + entry: python scan_secrets.py + language: python + stages: [pre-commit] + +## Branch rules + +use classic option + +## Branch naming + +feat/description pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy