Skip to content

CMS publishes all PRs under Megan's name #110

Description

@interim17

Description

The commits show the logged in user. Possibly this behavior is from the OAuth token used when setting up git-gateway (according to Claude).

Perhaps there is a config change to fix this, as the user is correctly authoring the commit, just not the PR.

Another route given that git-gateway is depcrecated: https://docs.netlify.com/manage/security/secure-access-to-sites/git-gateway/

Is to add Github as an OAuth provider in Netlify and switch from git-gateway to git for backend:

backend:
  name: github
  repo: owner/repo
  branch: main

Expected Behavior

PR should be authored by the user who made the edits (or by a bot).

Activity

  1. self-assigned this
    on Jul 22, 2026
  2. added theissue type on Jul 22, 2026
  3. interim17 commented on Jul 22, 2026

    @interim17
    ContributorAuthor

    @meganrm you mentioned a possible one-line fix to this involving forks? Can you share context?

  4. meganrm commented on Aug 12, 2026

    @meganrm
    Collaborator

    requirements:
    the name of the user authoring the post is known (ideally through their GitHub id)
    only people within the institute can approve and merge the PRs through the admin site
    not super concerned if people outside the institute are able to make a PR though

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions