Skip to content

fix: prevent deleting a file that is open without FileShare.Delete on Windows - #1615

Open
Asimmirzac wants to merge 1 commit into
TestableIO:mainfrom
Asimmirzac:fix/delete-open-file-windows
Open

Asimmirzac wants to merge 1 commit into
TestableIO:mainfrom
Asimmirzac:fix/delete-open-file-windows

fix: prevent deleting a file that is open without FileShare.Delete on…

f43a7ee
Select commit
Loading
Failed to load commit list.
Mergify / Summary succeeded Dec 4, 2026 in 4s

2 potential rules

Workflow Automation is sunset: it keeps running your pull_request_rules and their actions until Mergify stops running them, which it can do at any time from 2027-12-31. An action whose own notice names an earlier date can go sooner, as that notice says. Move a rule that queues or merges pull requests to Auto-Merge, and the others to GitHub Actions: https://docs.mergify.com/workflow/move-to-github-actions/

Rule: Automatic merge on approval (merge)

  • #approved-reviews-by>=1
  • any of: [🛡 GitHub repository ruleset rule main]
    • check-neutral = @github-actions/Unit tests (macos-latest)
    • check-skipped = @github-actions/Unit tests (macos-latest)
    • check-success = @github-actions/Unit tests (macos-latest)
  • any of: [🛡 GitHub repository ruleset rule main]
    • check-neutral = @github-actions/Unit tests (ubuntu-latest)
    • check-skipped = @github-actions/Unit tests (ubuntu-latest)
    • check-success = @github-actions/Unit tests (ubuntu-latest)
  • any of: [🛡 GitHub repository ruleset rule main]
    • check-neutral = @github-actions/Unit tests (windows-latest)
    • check-skipped = @github-actions/Unit tests (windows-latest)
    • check-success = @github-actions/Unit tests (windows-latest)
  • any of: [🛡 GitHub repository ruleset rule main]
    • check-neutral = @github-actions/API tests
    • check-skipped = @github-actions/API tests
    • check-success = @github-actions/API tests
  • #commits-behind = 0 [🛡 GitHub repository ruleset rule main]
  • #review-threads-unresolved = 0 [🛡 GitHub repository ruleset rule main]
  • -closed [📌 merge requirement]
  • -conflict [📌 merge requirement]
  • -draft [📌 merge requirement]
  • github-review-approved [🛡 GitHub repository ruleset rule main]
  • any of: [📌 merge -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = @mergify/Configuration changed
    • check-success = @mergify/Configuration has been deleted
  • any of: [🛡 GitHub repository ruleset rule main]
    • check-success = Testably/Conventional-Commits
    • check-neutral = Testably/Conventional-Commits
    • check-skipped = Testably/Conventional-Commits

Rule: Automatic merge on approval (update)

  • #approved-reviews-by>=1
  • #commits-behind > 0 [📌 update requirement]
  • -closed [📌 update requirement]
  • -conflict [📌 update requirement]
  • queue-position = -1 [📌 update requirement]

💖  Mergify is proud to provide this service for free to open source projects.

🚀  You can help us by becoming a sponsor!


1 not applicable rule

Rule: Automatic merge for Renovate pull requests (merge)

  • author=renovate[bot]
  • any of: [🛡 GitHub repository ruleset rule main]
    • check-neutral = @github-actions/Unit tests (macos-latest)
    • check-skipped = @github-actions/Unit tests (macos-latest)
    • check-success = @github-actions/Unit tests (macos-latest)
  • any of: [🛡 GitHub repository ruleset rule main]
    • check-neutral = @github-actions/Unit tests (ubuntu-latest)
    • check-skipped = @github-actions/Unit tests (ubuntu-latest)
    • check-success = @github-actions/Unit tests (ubuntu-latest)
  • any of: [🛡 GitHub repository ruleset rule main]
    • check-neutral = @github-actions/Unit tests (windows-latest)
    • check-skipped = @github-actions/Unit tests (windows-latest)
    • check-success = @github-actions/Unit tests (windows-latest)
  • any of: [🛡 GitHub repository ruleset rule main]
    • check-neutral = @github-actions/API tests
    • check-skipped = @github-actions/API tests
    • check-success = @github-actions/API tests
  • #commits-behind = 0 [🛡 GitHub repository ruleset rule main]
  • #review-threads-unresolved = 0 [🛡 GitHub repository ruleset rule main]
  • -closed [📌 merge requirement]
  • -conflict [📌 merge requirement]
  • -draft [📌 merge requirement]
  • github-review-approved [🛡 GitHub repository ruleset rule main]
  • any of: [📌 merge -> configuration change requirements]
    • -mergify-configuration-changed
    • check-success = @mergify/Configuration changed
    • check-success = @mergify/Configuration has been deleted
  • any of: [🛡 GitHub repository ruleset rule main]
    • check-success = Testably/Conventional-Commits
    • check-neutral = Testably/Conventional-Commits
    • check-skipped = Testably/Conventional-Commits
Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com