Skip to content

Switch away from passing tokens in URL / support fine grained permission tokens #102

@fingolfin

Description

@fingolfin

Right now we do this

# construct GitHub URL for pushing
REMOTE="https://$GITHUB_USER:$TOKEN@github.com/$REPO"

# Make sure the branch is on the server
notice "Pushing your branch to GitHub"
git push "$REMOTE" "$BRANCH"

This was handy in the past, but GitHub is introducing fine grained permission tokens, which apparently don't support this. It would be good to support these too

Metadata

Metadata

Assignees

No one assigned

    Labels

    resolved-by-workflowIssues us resolved or irrelevant when using GH Action based release workflow (see #110)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions