Skip to content

Automatically commit re-generated build files on PR push events #108

Open
@jamesgeorge007

Description

@jamesgeorge007

The PR author is expected to re-generate the build by running npm run build and commit the changes. This adds friction and misses out on the cases with PRs opened by Dependabot. There are two approaches that I'm thinking of.

  1. Update the existing workflow to commit the changes after generating the build to branches apart from main.
  2. Author another workflow that gets triggered on push events on PRs that generate the build and commit the changes. The existing workflow will only used for format checks.

We can use a GH Action like git-auto-commit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions