Skip to content

Conversation

@tcorzo
Copy link
Owner

@tcorzo tcorzo commented Nov 16, 2024

This pull request includes several changes aimed at improving the CI/CD workflows and enforcing branch protection rules. The changes also update dependencies and configuration files to ensure consistency across the project.

CI/CD Workflow Improvements:

  • Renamed .github/workflows/python-ci.yml to .github/workflows/ci.yml and updated the branches to include develop for both push and pull request events. Also, updated the versions of actions/checkout, actions/setup-python, and snok/install-poetry to the latest versions. [1] [2]
  • Added a new workflow file .github/workflows/release.yml to publish releases to PyPI after any workflow run completes on the main branch.

Branch Protection:

  • Added .github/workflows/generic-branch-protection.yml to enforce that pull requests must be made to the develop branch and not come from main or develop branches.
  • Added .github/workflows/main-branch-protection.yml to ensure pull requests to the main branch must come from the develop branch.

Configuration Updates:

  • Updated .github/dependabot.yml to set the target branch to develop for dependency updates.
  • Updated .pre-commit-config.yaml to set the autoupdate_branch to develop.
  • Updated the version in pyproject.toml from 0.2.0 to 1.0.0.

@tcorzo tcorzo merged commit 857bb1a into main Nov 16, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants