Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: fix commit-queue default branch #38998

Closed

Commits on Jun 10, 2021

  1. build: fix commit-queue default branch

    `github.repository.default_branch` is not a valid context variable, and
    GitHub doesn't have a context or environment variable containing the
    default branch. It does have `github.ref` and `$GITHUB_REF`, which
    contains the default branch _reference_ (as in `refs/heads/<branch>`),
    so we can use that and remove the `refs/heads/` prefix.
    mmarchini committed Jun 10, 2021
    Configuration menu
    Copy the full SHA
    13e2b74 View commit details
    Browse the repository at this point in the history