Skip to content

Issue with LFS and GitHub apps #3809

@devantler

Description

@devantler

Hello there 👋🏻

I am trying to use this GitHub Action to update a few LFS files in a PR. I have verified this flow works fine with the GITHUB_TOKEN and permissions:

permissions:
  content: write
  pull-request: write

But as you know, this does not allow the PR created to trigger other workflows. I need that, so I wanted to use a GitHub App instead. But, when I try to do this with a GitHub App with the same permissions it seems it is unable to upload the files to LFS. I have fiddled with it quite a bit, but could not find a reason for it, so I think it might be an issue in the action. Are you aware of this, or can you spot what I am doing wrong?

Here is the workflow that is creating the PR:

Here is the workflow that is trying to retrieve the files from LFS in the PR that was just created:

Can you help me / verify whether this is a bug, or something wrong on my end?

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