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

ci: gate toolstate repo pushes on the TOOLSTATE_PUBLISH envvar #62970

Merged
merged 1 commit into from
Jul 26, 2019

Commits on Jul 25, 2019

  1. ci: gate toolstate repo pushes on the TOOLSTATE_PUBLISH envvar

    Unfortunately due to an Azure quirk the TOOLSTATE_REPO_ACCESS_TOKEN is
    not suitable to gate whether to push new commits to the repo, as if it's
    not defined on the Azure side it will actually be set to the literal
    `$(TOOLSTATE_REPO_ACCESS_TOKEN)`, which screws everything up.
    
    This instead adds another, non-secret environment variable to gate
    publishing: TOOLSTATE_PUBLISH. As non-secret environment variables
    behave correctly this fixes the issue.
    pietroalbini committed Jul 25, 2019
    Configuration menu
    Copy the full SHA
    b01b5b9 View commit details
    Browse the repository at this point in the history