Skip to content

Allow Dependabot to log in #255

@zachgersh

Description

@zachgersh

Hello friends,

Wanted to say that this has particular choice here has been causing us some problems when we ask dependabot to bump go dependencies:

if (inputs.github_actor == "dependabot[bot]") {

We'd love it if dependanbot could at least log in during a test run, we have to fetch dependencies from the buf registry.

I've worked around this by essentially doing what login would do BUT only if its dependabot, so now I have to have this in my github action yaml:

 - name: Buf Registry Login
        if: github.actor == 'dependabot[bot]'
        run: |
          buf registry login some.buf.dev --token-stdin <<< "${{ secrets.BUF_TOKEN }}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions