Closed JarbasAl closed 1 month ago
This update introduces three new GitHub Actions workflows: one for automatically labeling pull requests based on conventional commit messages, another for managing stable releases from the master branch, and a third for automating the release process upon merging pull requests to the dev branch. Each workflow includes multiple jobs that handle tasks such as publishing packages to PyPI, notifying stakeholders, and synchronizing branches, thereby enhancing the automation of the development and release processes.
Files | Change Summary |
---|---|
.github/workflows/conventional-label.yaml |
Added a workflow to automatically label pull requests based on conventional commit messages. |
.github/workflows/publish_stable.yml |
Introduced a workflow for managing stable releases, including jobs for publishing and synchronizing branches. |
.github/workflows/release_workflow.yml |
Created a workflow for automating the release process upon merging pull requests, including publishing and notifications. |
sequenceDiagram
participant User
participant GitHub
participant CI
participant PyPI
participant Chat
User->>GitHub: Open PR
GitHub->>CI: Trigger conventional label workflow
CI->>GitHub: Add labels to PR
User->>GitHub: Merge PR to dev
GitHub->>CI: Trigger release workflow
CI->>CI: Publish alpha release
CI->>Chat: Notify about merged PR
CI->>CI: Publish to PyPI
CI->>GitHub: Propose stable release
🐰 In the garden where code does bloom,
New workflows dance, dispelling gloom.
Labels and releases, all in a row,
Automation's magic makes our project glow!
Hops of joy for each merge we see,
Together we code, as happy as can be! 🌼
.github/workflows/publish_stable.yml
22-22: the runner of "actions/checkout@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue (action) --- 27-27: the runner of "actions/setup-python@v1" action is too old to run on GitHub Actions. update the action's version to fix this issue (action) --- 34-34: workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions (deprecated-commands) --- 50-50: the runner of "actions/checkout@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue (action).github/workflows/release_workflow.yml
26-26: the runner of "actions/checkout@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue (action) --- 42-42: the runner of "actions/checkout@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue (action) --- 47-47: the runner of "actions/setup-python@v1" action is too old to run on GitHub Actions. update the action's version to fix this issue (action) --- 54-54: workflow command "set-output" was deprecated. use `echo "{name}={value}" >> $GITHUB_OUTPUT` instead: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions (deprecated-commands) --- 76-76: the runner of "actions/setup-python@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue (action) --- 82-82: shellcheck reported issue in this script: SC2086:info:2:28: Double quote to prevent globbing and word splitting (shellcheck) --- 94-94: shellcheck reported issue in this script: SC2034:warning:2:1: BRANCH_NAME appears unused. Verify use (or export if used externally) (shellcheck)
.github/workflows/publish_stable.yml (1)
`8-15`: **LGTM!** The job is using a reusable workflow from another repository to publish a stable release. The required inputs are being passed correctly..github/workflows/release_workflow.yml (2)
`9-19`: **LGTM!** The job is using a reusable workflow from another repository to publish an alpha release. The required inputs are being passed correctly and the job runs only if the pull request is merged. --- `21-35`: **LGTM!** The job is correctly configured to send a notification to a Matrix channel when a pull request is merged and the `publish_alpha` job succeeds.Tools
actionlint
26-26: the runner of "actions/checkout@v2" action is too old to run on GitHub Actions. update the action's version to fix this issue (action)
enforce semver
Summary by CodeRabbit
New Features
Enhancements