Skip to content

Add white-list to WorkingCopyCheck #180

Open

Description

@evs-xsarus

In my project, I have a CHANGELOG.txt which I update before releasing. In my custom action, I then add a version line to this file. But, for this to work, the CHANGELOG.txt must be committed first because of the working-copy-check. I don't want to use the ignore option as other changes must still be checked. Could a whitelist option be added so some files are left out of this check?

Activity

  1. jeanmonod commented on Mar 11, 2025

    @jeanmonod
    Member

    Hi @evs-xsarus,
    This is the first time I've seen this use case, but it seems legitimate. You can try adding this new option to the control. Here's where to code this: https://github.com/liip/RMT/blob/main/src/Liip/RMT/Prerequisite/WorkingCopyCheck.php
    This should be straightforward. Are you able to provide a pull request?

  2. evs-xsarus commented on Jan 7, 2026

    @evs-xsarus
    ContributorAuthor

    @jeanmonod here you go: #188

    PS I noticed my test fails. Could you assist in writing a correct one as?

    https://github.com/liip/RMT/actions/runs/20780735582/job/59677322494?pr=188

  3. Mondane commented on May 8, 2026

    @Mondane

    @jeanmonod do you have the time to look at this PR ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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