Skip to content

trigger_files doesn't seem to work when a PR is opened #1535

@camelid

Description

@camelid

For example: rust-lang/rust#91833

That PR was force-pushed here: rust-lang/rust#91833 (comment)

Both the old and the new versions modified rustdoc, but only after the force-push did the PR get autolabeled:

image

@Mark-Simulacrum I suspect there's something wrong in diff_between(). For one, it uses unwrap_or_default for the commit hashes, which seems like it'd introduce weird behavior. If the value isn't there, it'll just use an empty commit hash.

When you get a chance, could you look at the logs for that PR perhaps? Other than that, I don't know how to fix this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions