Skip to content

Automatically update yarn.lock after release #1266

@ognis1205

Description

@ognis1205

Is there an existing issue or pull request for this?

  • I have searched the existing issues and pull requests

Feature description

After releasing a new version of git-cliff, the yarn.lock files for npm packages managed in this repository often become outdated. Currently, updating them is a manual process, which is error-prone and sometimes forgotten.

Desired solution

Automatically regenerate or update yarn.lock files for the repository's npm packages whenever a new git-cliff release is published. This could be implemented using a GitHub Action triggered on release events.

Alternatives considered

  • Manually running yarn install or yarn upgrade after each release and file a PR.

Additional context

  • GitHub Marketplace has actions like "Create Pull Request" that could be used to automatically open a PR with the updated yarn.lock.
  • This automation would reduce human errors and ensure downstream packages always use the latest git-cliff version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature/requestNew feature or requestgithub_actionsPull requests that update GitHub Actions code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions