Skip to content

Changed Files Output Includes Main Branch's Latest Commit Content #343

Open
@leavesster

Description

@leavesster

"I found that the output of the changed files includes not only the contents of the pull request but also the contents of the latest commit in the main branch."

here is my demo's pr

and in action summary, it print the changed files is

Changed Files content
3f075d7: README.md
2e1ba5a: .github/workflows/pull-request.yml
index.js

but I only have one commit 3f075d73b1a830f25ddf1f08d0708db66d9f5fbc in this pull request

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