Skip to content

allow running commands after update #91

@sellout

Description

@sellout

I use https://github.com/sellout/project-manager in most of my repos. It generates some files that get committed, and also adds a flake check that the files are current.

Using update-flake-lock often creates a PR that initially fails because the updated inputs cause changes in the generated files that then fail the up-to-date check.

I would like to be able to do something like

      - name: Update flake.lock
        uses: DeterminateSystems/update-flake-lock@main
        with:
          pr-title: "Update flake.lock"
          run: |
            nix develop --command project-manager switch
            git commit --all --message="Update generated files"

so that I don't have to manually update the PR with a new commit each time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions